This commit is contained in:
Zefiro Anthragon 2025-12-17 16:54:18 +01:00 committed by GitHub
commit 585a8fe657
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,6 +101,7 @@ def create_cors_middleware(allowed_origin: str):
response.headers['Access-Control-Allow-Methods'] = 'POST, GET, DELETE, PUT, OPTIONS, PATCH'
response.headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization'
response.headers['Access-Control-Allow-Credentials'] = 'true'
response.headers['Access-Control-Allow-Private-Network'] = 'true'
return response
return cors_middleware