diff --git a/backend/core/production_settings.py b/backend/core/production_settings.py index dd9eeb3..1ea23fb 100644 --- a/backend/core/production_settings.py +++ b/backend/core/production_settings.py @@ -123,10 +123,8 @@ CORS_ALLOW_ALL_ORIGINS = False CORS_ALLOWED_ORIGINS = [ "https://turtask.vercel.app", ] - CSRF_TRUSTED_ORIGINS = ["https://turtask.vercel.app"] - -CORS_ORIGIN_WHITELIST = ["*"] +CORS_ORIGIN_WHITELIST = ["https://turtask.vercel.app"] MIDDLEWARE = [ 'corsheaders.middleware.CorsMiddleware', @@ -264,4 +262,4 @@ STORAGES = { "staticfiles": { "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", }, -} \ No newline at end of file +}