Commit 3866dc3f by aagusti

allow-origin

1 parent cc722e2e
......@@ -95,7 +95,7 @@ def add_cors_headers_response_callback(event):
headers = {
'Access-Control-Allow-Methods': 'POST,GET,DELETE,PUT,OPTIONS',
'Access-Control-Allow-Headers': 'Origin, Content-Type, Accept, Authorization',
'Access-Control-Allow-Credentials': 'true',
# 'Access-Control-Allow-Credentials': 'true',
'Access-Control-Max-Age': '1728000',
}
log.info(f"{origin} {request.is_xhr}")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!