fix: need to use WebAppErrorPages in WebAppMetadata
This commit is contained in:
parent
96d99bb533
commit
a02458b597
|
@ -23,12 +23,12 @@ type WebAppMetadata struct {
|
|||
BaseMetadata
|
||||
Name string `json:"name"`
|
||||
TryFiles []string `json:"tryFiles"`
|
||||
ErrorPages map[int]string `json:"errorPages"`
|
||||
ErrorPages WebAppErrorPages `json:"errorPages"`
|
||||
ExtraMetadata ExtraMetadata `json:"extraMetadata"`
|
||||
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 WebAppErrorPages, paths *WebAppFileMap) *WebAppMetadata {
|
||||
return &WebAppMetadata{
|
||||
Name: name,
|
||||
TryFiles: tryFiles,
|
||||
|
|
Loading…
Reference in New Issue