Fix startup error when http proxy is defined. (#6421)
* commit 'ef1a85e77': Fix startup error when http proxy is defined. (#6421)
This commit is contained in:
@@ -321,8 +321,8 @@ class HomeServer(object):
|
||||
def build_proxied_http_client(self):
|
||||
return SimpleHttpClient(
|
||||
self,
|
||||
http_proxy=os.getenv("http_proxy"),
|
||||
https_proxy=os.getenv("HTTPS_PROXY"),
|
||||
http_proxy=os.getenvb(b"http_proxy"),
|
||||
https_proxy=os.getenvb(b"HTTPS_PROXY"),
|
||||
)
|
||||
|
||||
def build_room_creation_handler(self):
|
||||
|
||||
Reference in New Issue
Block a user