Update server.py
Browse files
server.py
CHANGED
|
@@ -205,7 +205,7 @@ async def home(request: Request):
|
|
| 205 |
|
| 206 |
@app.route("/login")
|
| 207 |
async def login(request: Request):
|
| 208 |
-
redirect_uri = request.url_for('auth').replace("http://", "https://")
|
| 209 |
print("Redirect URI:", redirect_uri)
|
| 210 |
return await oauth.google.authorize_redirect(request, redirect_uri)
|
| 211 |
|
|
|
|
| 205 |
|
| 206 |
@app.route("/login")
|
| 207 |
async def login(request: Request):
|
| 208 |
+
redirect_uri = str(request.url_for('auth')).replace("http://", "https://")
|
| 209 |
print("Redirect URI:", redirect_uri)
|
| 210 |
return await oauth.google.authorize_redirect(request, redirect_uri)
|
| 211 |
|