diff --git a/core/settings/__init__.py b/core/settings/__init__.py index 0680661..476cfc4 100644 --- a/core/settings/__init__.py +++ b/core/settings/__init__.py @@ -75,12 +75,9 @@ MIDDLEWARE = [ 'whitenoise.middleware.WhiteNoiseMiddleware', ] -CORS_ORIGIN_WHITELIST = [ - 'http://localhost:3000', - 'https://localhost:3000', - 'http://localhost:44485' -] -CORS_ALLOW_ALL_ORIGINS = True +ALLOWED_HOSTS = ['*'] +CORS_ORIGIN_ALLOW_ALL = True +CORS_ALLOW_HEADERS = ['*'] ROOT_URLCONF = 'core.urls' diff --git a/core/settings/production.py b/core/settings/production.py index 7b21658..a957369 100644 --- a/core/settings/production.py +++ b/core/settings/production.py @@ -17,6 +17,8 @@ SECRET_KEY = os.environ.get("SECRET_KEY") DEBUG = True ALLOWED_HOSTS = ['*'] +CORS_ORIGIN_ALLOW_ALL = True +CORS_ALLOW_HEADERS = ['*'] plaid_envs = {'sandbox': plaid.Environment.Sandbox, 'development': plaid.Environment.Development,