From 8b016bf27bfb520a780f182784d04196727ad92c Mon Sep 17 00:00:00 2001 From: arin <67313390+6Arin9@users.noreply.github.com> Date: Sun, 5 Sep 2021 18:47:26 +0200 Subject: [PATCH 1/2] CORS Fix --- wulkanowy/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wulkanowy/settings.py b/wulkanowy/settings.py index a074ba9..e669032 100644 --- a/wulkanowy/settings.py +++ b/wulkanowy/settings.py @@ -87,6 +87,9 @@ CORS_ALLOWED_ORIGINS = [ "https://librus.fun", ] +CORS_ORIGIN_ALLOW_ALL = True +CORS_ALLOW_CREDENTIALS = True + WSGI_APPLICATION = 'wulkanowy.wsgi.application' From a97778f4a3716ca2d3c4cf4d4dd83cfa76e1d050 Mon Sep 17 00:00:00 2001 From: arin <67313390+6Arin9@users.noreply.github.com> Date: Sun, 5 Sep 2021 18:50:59 +0200 Subject: [PATCH 2/2] CORS Fix --- wulkanowy/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/wulkanowy/settings.py b/wulkanowy/settings.py index e669032..112f90c 100644 --- a/wulkanowy/settings.py +++ b/wulkanowy/settings.py @@ -87,7 +87,6 @@ CORS_ALLOWED_ORIGINS = [ "https://librus.fun", ] -CORS_ORIGIN_ALLOW_ALL = True CORS_ALLOW_CREDENTIALS = True WSGI_APPLICATION = 'wulkanowy.wsgi.application'