cors change
This commit is contained in:
parent
125acbad1c
commit
85ad7ec89a
@ -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…
x
Reference in New Issue
Block a user