diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2021-01-16 09:56:06 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2021-01-16 09:56:06 -0700 |
commit | 58e83a811bce9a4f2bad0c3460939c54848becdf (patch) | |
tree | 96bc838a54beee873e12186dc23ad0e109754413 | |
parent | f0c0f38ba57ec7f01839a811d29cb9c5187ad726 (diff) |
map: Add missing json struct tag
-rw-r--r-- | modules/caddyhttp/map/map.go | 2 |
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. |