Closed francislavoie closed 3 years ago
See https://github.com/caddy-dns/cloudflare/pull/19 for the explanation. This makes the replacer work for JSON configs, and makes sure the autosave.json doesn't leak the credentials.
Also removes the replacer from the max retries field in the Caddyfile cause it doesn't really make sense; and if we tried to make it replaceable in JSON, we couldn't because of a type conflict (the field is int, but placeholders are strings)
See https://github.com/caddy-dns/cloudflare/pull/19 for the explanation. This makes the replacer work for JSON configs, and makes sure the autosave.json doesn't leak the credentials.
Also removes the replacer from the max retries field in the Caddyfile cause it doesn't really make sense; and if we tried to make it replaceable in JSON, we couldn't because of a type conflict (the field is int, but placeholders are strings)