diff --git a/app/auth.py b/app/auth.py index 36d0c95..e99cd59 100644 --- a/app/auth.py +++ b/app/auth.py @@ -4,6 +4,7 @@ from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials security = HTTPBearer() + API_TOKEN = os.getenv("API_TOKEN", "mytoken") def verify_token(credentials: HTTPAuthorizationCredentials = Depends(security)):