cors change

This commit is contained in:
Yax 2017-07-09 14:25:19 +02:00
parent 537940381b
commit 15ebe08bd5

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: