ci: auto-deploy on push to main + remove redundant API token (Authelia is auth layer)
Deploy t-youtube / Build & Deploy (push) Failing after 1s
Deploy t-youtube / Build & Deploy (push) Failing after 1s
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ app.add_middleware(
|
||||
|
||||
)
|
||||
|
||||
# API token validation for write operations
|
||||
API_TOKEN=os.environ.get('API_TOKEN', '')
|
||||
# API token validation — disabled. Authelia (Caddy forward_auth) handles auth upstream.
|
||||
API_TOKEN=""
|
||||
|
||||
async def validate_api_token(request: Request, call_next):
|
||||
path = request.url.path
|
||||
|
||||
Reference in New Issue
Block a user