summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/map
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/map')
-rw-r--r--modules/caddyhttp/map/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/map/map.go b/modules/caddyhttp/map/map.go
index bfb2115..e193f20 100644
--- a/modules/caddyhttp/map/map.go
+++ b/modules/caddyhttp/map/map.go
@@ -48,7 +48,7 @@ type Handler struct {
// If no mappings match or if the mapped output is null/nil, the associated
// default output will be applied (optional).
- Defaults []string
+ Defaults []string `json:"defaults,omitempty"`
}
// CaddyModule returns the Caddy module information.