From 5ffdc4f43f3bf933063b41abbf531c64f321d7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Martin=20Fr=C3=B8berg=20Wang?= <tmwang@stud.ntnu.no> Date: Fri, 5 Mar 2021 12:18:16 +0000 Subject: [PATCH] Update settings.py --- backend/secfit/secfit/settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/secfit/secfit/settings.py b/backend/secfit/secfit/settings.py index f983f12..c5ede18 100644 --- a/backend/secfit/secfit/settings.py +++ b/backend/secfit/secfit/settings.py @@ -115,10 +115,8 @@ else: # CORS Policy -#CORS_ORIGIN_ALLOW_ALL = ( -# True -#) -CORS_ALLOW_ALL_ORIGINS = True +CORS_ORIGIN_ALLOW_ALL = True + # Internationalization # https://docs.djangoproject.com/en/3.1/topics/i18n/ -- GitLab