From ce1205239a7c2300932d0d6819085586660fcce9 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sun, 6 Oct 2019 20:48:31 -0600 Subject: cmd/main: Plug in json5 and jsonc config adapters --- cmd/caddy/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/caddy') 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" -- cgit v1.2.3