attempt 2 at cors

This commit is contained in:
DJ Gillespie 2023-07-19 22:26:09 -06:00
parent 41175299e2
commit b059ec8538

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'