summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-10-06 20:48:31 -0600
committerMatthew Holt <[email protected]>2019-10-06 20:48:31 -0600
commitce1205239a7c2300932d0d6819085586660fcce9 (patch)
tree489fb8450a554747e1c8404b478d2cb30fc0bea1
parentbc3e44c1a6b16ec5a01c43888fd53264a9f6abad (diff)
downloadcaddy-ce1205239a7c2300932d0d6819085586660fcce9.tar.gz
caddy-ce1205239a7c2300932d0d6819085586660fcce9.zip
cmd/main: Plug in json5 and jsonc config adaptersv2.0.0-beta4
-rw-r--r--cmd/caddy/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go
index 9f548e381..93e95e7e1 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"