Commit b5703f16 by aagusti

allow-creditial

1 parent 4e887e49
......@@ -100,6 +100,9 @@ def add_cors_headers_response_callback(event):
'Access-Control-Max-Age': '1728000',
})
log.info(f"{origin} {request.is_xhr}")
response.headers.update(
{'Access-Control-Allow-Credential': True}
)
if origin:
response.headers.update(
{'Access-Control-Allow-Origin': origin}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!