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] 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'