From 85ad7ec89aa0ed71acf7fcbe0175a721292f3b22 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sun, 9 Jul 2017 14:25:19 +0200 Subject: [PATCH] cors change --- app/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/run.py b/app/run.py index 02262c0..236a62b 100644 --- a/app/run.py +++ b/app/run.py @@ -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: