Commit e48b2697 by aagusti

allow-origin

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