h-shibuya commited on
Commit
37d7868
1 Parent(s): 7cfe3be

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +1 -1
modules/app.py CHANGED
@@ -81,7 +81,7 @@ def public(request: Request, user = Depends(get_user)):
81
  async def logout(request: Request):
82
  request.session.pop('user', None)
83
  request.session.pop('id_token', None)
84
- root_url = gr.route_utils.get_root_url(request, "/", None)
85
  logout_path = (
86
  "https://" + AUTH0_DOMAIN
87
  + "/v2/logout?"
 
81
  async def logout(request: Request):
82
  request.session.pop('user', None)
83
  request.session.pop('id_token', None)
84
+ root_url = gr.route_utils.get_root_url(request, "/logout", None)
85
  logout_path = (
86
  "https://" + AUTH0_DOMAIN
87
  + "/v2/logout?"