CORS: make access public
This commit is contained in:
parent
0adfd7588a
commit
7371c52ec5
|
@ -30,7 +30,7 @@ handlers = media.Handlers({
|
|||
'application/json': jsonhandler.JSONHandler(),
|
||||
})
|
||||
|
||||
cors = CORS(allow_origins_list=['*'])
|
||||
cors = CORS(allow_all_origins=True)
|
||||
|
||||
app = falcon.API(middleware=[cors.middleware])
|
||||
|
||||
|
|
Loading…
Reference in New Issue