attempt 2 at cors

This commit is contained in:
DJ Gillespie 2023-07-19 22:26:09 -06:00
parent 899ea476d6
commit 25bc7dc347

View File

@ -76,8 +76,11 @@ MIDDLEWARE = [
] ]
CORS_ORIGIN_WHITELIST = [ CORS_ORIGIN_WHITELIST = [
'*' 'http://localhost:3000',
'https://localhost:3000',
'http://localhost:44485'
] ]
CORS_ALLOW_ALL_ORIGINS = True
ROOT_URLCONF = 'core.urls' ROOT_URLCONF = 'core.urls'