pvanand commited on
Commit
5ffacbe
·
verified ·
1 Parent(s): 6acd93d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -109,7 +109,11 @@ async def serve_resume_optimizer():
109
  content = file.read()
110
  return HTMLResponse(content=content)
111
 
112
-
 
 
 
 
113
 
114
  @app.exception_handler(HTTPException)
115
  async def http_exception_handler(request: Request, exc: HTTPException):
 
109
  content = file.read()
110
  return HTMLResponse(content=content)
111
 
112
+ @app.get("/auth", response_class=HTMLResponse)
113
+ async def serve_resume_optimizer():
114
+ with open("static/auth.html", "r") as file:
115
+ content = file.read()
116
+ return HTMLResponse(content=content)
117
 
118
  @app.exception_handler(HTTPException)
119
  async def http_exception_handler(request: Request, exc: HTTPException):