Skip to content

Commit

Permalink
chore: fix whitelist (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying authored Jan 17, 2025
1 parent 84b288d commit 3e74243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/auth/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"/api/bot/detail",
"/api/github/app/webhook",
"/app/installation/callback",
"/api/aws/upload",
]

ANONYMOUS_USER_ALLOW_LIST = [
"/api/auth/userinfo",
"/api/chat/qa",
"/api/chat/stream_qa",
"/api/aws/upload",
]

oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/api/auth/token")
Expand Down

0 comments on commit 3e74243

Please sign in to comment.