fix(httpproxy): HTTPPROXY_PORT variable key

This commit is contained in:
Quentin McGaw
2022-01-07 15:00:23 +00:00
parent 3efe3a524a
commit 05f42f0cb8

View File

@@ -85,9 +85,9 @@ func (r *Reader) readHTTProxyListeningAddress() (listeningAddress string) {
} }
// Retro-compatibility // Retro-compatibility
s = os.Getenv("HTTPPROXY_PORT") s = os.Getenv("HTTPROXY_PORT")
if s != "" { if s != "" {
r.onRetroActive("HTTPPROXY_PORT", "HTTPPROXY_LISTENING_ADDRESS") r.onRetroActive("HTTPROXY_PORT", "HTTPPROXY_LISTENING_ADDRESS")
return ":" + s return ":" + s
} }