diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-06 20:48:31 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-06 20:48:31 -0600 |
commit | ce1205239a7c2300932d0d6819085586660fcce9 (patch) | |
tree | 489fb8450a554747e1c8404b478d2cb30fc0bea1 /cmd/caddy | |
parent | bc3e44c1a6b16ec5a01c43888fd53264a9f6abad (diff) |
cmd/main: Plug in json5 and jsonc config adapters
Diffstat (limited to 'cmd/caddy')
-rw-r--r-- | cmd/caddy/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go index 9f548e3..93e95e7 100644 --- a/cmd/caddy/main.go +++ b/cmd/caddy/main.go @@ -19,6 +19,8 @@ import ( // this is where modules get plugged in _ "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" + _ "github.com/caddyserver/caddy/v2/caddyconfig/json5" + _ "github.com/caddyserver/caddy/v2/caddyconfig/jsonc" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode" _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/brotli" |