From 6ddffe6540b6c91fdc5562e3094de2513359a833 Mon Sep 17 00:00:00 2001 From: gzbender Date: Wed, 28 Aug 2019 13:13:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BD=D0=B0=20DEV=20=D0=BD=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D0=BB=D1=8C=D0=BD=D1=83=D1=8E=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D1=83=20=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/settings.py b/project/settings.py index 9572ee2b..a56c9463 100644 --- a/project/settings.py +++ b/project/settings.py @@ -406,7 +406,7 @@ except ImportError: # CORS settings -if DEBUG: +if DEBUG or DEV_SERVER: CORS_ORIGIN_ALLOW_ALL = True else: CORS_ORIGIN_WHITELIST = os.getenv(