cors change
This commit is contained in:
parent
125acbad1c
commit
85ad7ec89a
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ processor.start(template_path)
|
|||
logger.info("Start Stacosys application")
|
||||
|
||||
# enable CORS
|
||||
cors = CORS(app, resources={r"/comments/*": {"origins": config.CORS_ORIGIN}})
|
||||
cors = CORS(app, resources=r'/comments/*')
|
||||
|
||||
# tune logging level
|
||||
if not config.DEBUG:
|
||||
|
|
Loading…
Add table
Reference in a new issue