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:
parent
ab101d75d0
commit
6bcba91fbe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue