1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

Lowercase env var names in replacer

This commit is contained in:
Matthew Holt 2019-07-03 15:42:21 -06:00
parent ab101d75d0
commit 6bcba91fbe
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -106,7 +106,7 @@ var defaultReplacements = func() map[string]string {
if len(parts) != 2 { if len(parts) != 2 {
continue continue
} }
m["env."+strings.ToUpper(parts[0])] = parts[1] m["env."+strings.ToLower(parts[0])] = parts[1]
} }
return m return m