diff --git a/main.py b/main.py index fb844d9..61e7f51 100644 --- a/main.py +++ b/main.py @@ -60,7 +60,7 @@ async def global_auth(request: Request): # return # 验证 token = request.headers.get("Authorization") - if token != "567e33c876a2": + if token != "Bear 567e33c876a2": raise HTTPException(status_code=401, detail="Invalid token") # 全局依赖项