diff --git a/backend/core/production_settings.py b/backend/core/production_settings.py index 6b0a879..dd9eeb3 100644 --- a/backend/core/production_settings.py +++ b/backend/core/production_settings.py @@ -121,12 +121,10 @@ SOCIALACCOUNT_PROVIDERS = { CORS_ALLOW_CREDENTIALS = True CORS_ALLOW_ALL_ORIGINS = False CORS_ALLOWED_ORIGINS = [ - "http://localhost:8000", - "http://127.0.0.1:8000", - "http://localhost:5173", + "https://turtask.vercel.app", ] -CSRF_TRUSTED_ORIGINS = ["http://localhost:5173"] +CSRF_TRUSTED_ORIGINS = ["https://turtask.vercel.app"] CORS_ORIGIN_WHITELIST = ["*"]