hotfix(env): case sensitivity for OPENVPN_CUSTOM_CONFIG

This commit is contained in:
Quentin McGaw
2023-06-28 12:27:13 +00:00
parent 515ae8efb3
commit d3d8484b8e

View File

@@ -19,7 +19,7 @@ func (s *Source) readOpenVPN() (
env.RetroKeys("USER"), env.ForceLowercase(false))
openVPN.Password = s.env.Get("OPENVPN_PASSWORD",
env.RetroKeys("PASSWORD"), env.ForceLowercase(false))
openVPN.ConfFile = s.env.Get("OPENVPN_CUSTOM_CONFIG")
openVPN.ConfFile = s.env.Get("OPENVPN_CUSTOM_CONFIG", env.ForceLowercase(false))
openVPN.Ciphers = s.env.CSV("OPENVPN_CIPHERS", env.RetroKeys("OPENVPN_CIPHER"))
openVPN.Auth = s.env.Get("OPENVPN_AUTH")
openVPN.Cert = s.env.Get("OPENVPN_CERT", env.ForceLowercase(false))