diff --git a/metadata/web_app.go b/metadata/web_app.go index ac77183..260180c 100644 --- a/metadata/web_app.go +++ b/metadata/web_app.go @@ -21,10 +21,10 @@ type WebAppMetadata struct { TryFiles []string `json:"tryFiles"` ErrorPages map[int]string `json:"errorPages"` ExtraMetadata ExtraMetadata `json:"extraMetadata"` - Paths WebAppFileMap `json:"paths"` + Paths *WebAppFileMap `json:"paths"` } -func NewWebAppMetadata(name string, tryFiles []string, extraMetadata ExtraMetadata, errorPages map[int]string, paths WebAppFileMap) *WebAppMetadata { +func NewWebAppMetadata(name string, tryFiles []string, extraMetadata ExtraMetadata, errorPages map[int]string, paths *WebAppFileMap) *WebAppMetadata { return &WebAppMetadata{ Name: name, TryFiles: tryFiles,