diff --git a/backend/secfit/secfit/settings.py b/backend/secfit/secfit/settings.py index e844069bc95b4bf1e6b81310c4d57910db0e72d8..bea2b5dceeb060f3323b5b6b75b3732200eeef20 100644 --- a/backend/secfit/secfit/settings.py +++ b/backend/secfit/secfit/settings.py @@ -44,7 +44,7 @@ ALLOWED_HOSTS = [ "molde.idi.ntnu.no", "10.0.2.2", "secfit-1-backend.herokuapp.com", - "secfit-1-frontend.herokuapp.com/" + "secfit-1-frontend.herokuapp.com" ] # Application definition @@ -116,7 +116,11 @@ else: # CORS Policy -CORS_ORIGIN_ALLOW_ALL = True +CORS_ALLOW_ALL_ORIGINS = True +CORS_ORIGIN_ALLOW_ALL = ( + True +) + # Internationalization