mirror of
https://github.com/netzbegruenung/schaufenster.git
synced 2024-04-27 14:54:54 +02:00
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 a new issue