Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
map: Add missing json struct tag
Matthew Holt committed
Jan 16, 2021 at 09:56 UTC
58e83a811bce9a4f2bad0c3460939c54848becdf
1 file changed
+1
-1
modules/caddyhttp/map/map.go
+1
-1
@@ -48,7 +48,7 @@ type Handler struct {
48
49
// If no mappings match or if the mapped output is null/nil, the associated
50
// default output will be applied (optional).
51
- Defaults []string
51
+ Defaults []string `json:"defaults,omitempty"`
52
}
53
54
// CaddyModule returns the Caddy module information.