mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Update proxy_server.py
This commit is contained in:
parent
4474944c93
commit
d8690e50ea
1 changed files with 2 additions and 2 deletions
|
@ -2864,7 +2864,7 @@ async def google_login(request: Request):
|
||||||
port = request.url.port or 4000
|
port = request.url.port or 4000
|
||||||
if "localhost" not in host:
|
if "localhost" not in host:
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
GOOGLE_REDIRECT_URI = f"{scheme}://{host}:{port}/google-callback"
|
GOOGLE_REDIRECT_URI = f"https://litellm-production-7002.up.railway.app/google-callback"
|
||||||
GOOGLE_CLIENT_ID = (
|
GOOGLE_CLIENT_ID = (
|
||||||
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
||||||
)
|
)
|
||||||
|
@ -2882,7 +2882,7 @@ async def google_callback(code: str, request: Request):
|
||||||
if "localhost" not in host:
|
if "localhost" not in host:
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
|
|
||||||
GOOGLE_REDIRECT_URI = f"{scheme}://{host}:{port}/google-callback"
|
GOOGLE_REDIRECT_URI = f"https://litellm-production-7002.up.railway.app/google-callback"
|
||||||
GOOGLE_CLIENT_ID = (
|
GOOGLE_CLIENT_ID = (
|
||||||
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue