aagoluoglu commited on
Commit
e3505c2
·
verified ·
1 Parent(s): 8ae8712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ templates = Jinja2Templates(directory="templates")
11
 
12
  CLIENT_ID = "931024815427-72meiq3uivuuolfukb3jvikvhhqlr574.apps.googleusercontent.com"
13
  CLIENT_SECRET = "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"
14
- REDIRECT_URI = "http://localhost:7860/auth/google/callback"
15
 
16
  oauth2_scheme = OAuth2AuthorizationCodeBearer(
17
  authorizationUrl="https://accounts.google.com/o/oauth2/auth",
@@ -61,4 +61,4 @@ async def fetch_comments(access_token: str = Depends(oauth2_scheme)):
61
  raise HTTPException(status_code=response.status_code, detail="Failed to fetch comments")
62
 
63
  if __name__ == "__main__":
64
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
11
 
12
  CLIENT_ID = "931024815427-72meiq3uivuuolfukb3jvikvhhqlr574.apps.googleusercontent.com"
13
  CLIENT_SECRET = "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"
14
+ REDIRECT_URI = "http://localhost:3000/auth/google/callback"
15
 
16
  oauth2_scheme = OAuth2AuthorizationCodeBearer(
17
  authorizationUrl="https://accounts.google.com/o/oauth2/auth",
 
61
  raise HTTPException(status_code=response.status_code, detail="Failed to fetch comments")
62
 
63
  if __name__ == "__main__":
64
+ uvicorn.run(app, host="0.0.0.0", port=3000)