Commit 2950f573 authored by Arthur Lutz's avatar Arthur Lutz
Browse files

[cubicweb/pyramid] take into account two ignored CORS configuration items from all-in-one.conf

--HG--
branch : 3.25
parent 43022c1fa133
......@@ -111,7 +111,9 @@ def wsgi_application_from_cwconfig(
app,
origin=' '.join(cwconfig['access-control-allow-origin']),
headers=', '.join(cwconfig['access-control-allow-headers']),
expose_headers=', '.join(cwconfig['access-control-expose-headers']),
methods=', '.join(cwconfig['access-control-allow-methods']),
maxage=cwconfig['access-control-max-age'],
credentials='true')
if profile:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment