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 New Issue