diff --git a/movienight/settings.py b/movienight/settings.py index eb9878d..dc59df7 100644 --- a/movienight/settings.py +++ b/movienight/settings.py @@ -26,7 +26,7 @@ SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY") DEBUG = bool(os.environ.get("DEBUG", default=0)) ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", "127.0.0.1").split(",") -CORS_ALLOWED_ORIGINS = ["http://localhost:3000"] +CORS_ALLOWED_ORIGINS = os.environ.get("DJANGO_ALLOWED_ORIGINS", "http://localhost:3000").split(",") # Application definition