cors change

This commit is contained in:
Yax 2017-07-09 14:25:19 +02:00
parent 125acbad1c
commit 85ad7ec89a

View file

@ -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: