summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-01-16 09:56:06 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-01-16 09:56:06 -0700
commit58e83a811bce9a4f2bad0c3460939c54848becdf (patch)
tree96bc838a54beee873e12186dc23ad0e109754413 /modules
parentf0c0f38ba57ec7f01839a811d29cb9c5187ad726 (diff)
map: Add missing json struct tag
Diffstat (limited to 'modules')
-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.