mirror of
https://github.com/netzbegruenung/schaufenster.git
synced 2024-05-06 02:53:40 +02:00
CORS: allow all headers
This commit is contained in:
parent
7371c52ec5
commit
2a602686c2
|
@ -30,7 +30,8 @@ handlers = media.Handlers({
|
|||
'application/json': jsonhandler.JSONHandler(),
|
||||
})
|
||||
|
||||
cors = CORS(allow_all_origins=True)
|
||||
cors = CORS(allow_all_origins=True,
|
||||
allow_all_headers=True)
|
||||
|
||||
app = falcon.API(middleware=[cors.middleware])
|
||||
|
||||
|
|
Loading…
Reference in a new issue