fix PROXY_HOST

This commit is contained in:
thsrite
2023-07-14 23:22:10 +08:00
parent 98762e711c
commit 824efecf77
2 changed files with 3 additions and 3 deletions

View File

@ -183,8 +183,8 @@ class Settings(BaseSettings):
def PROXY(self):
if self.PROXY_HOST:
return {
"http": f"http://{self.PROXY_HOST}",
"https": f"https://{self.PROXY_HOST}"
"http": {self.PROXY_HOST},
"https": {self.PROXY_HOST},
}
return None