attempt 2 at cors
This commit is contained in:
parent
899ea476d6
commit
25bc7dc347
@ -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'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user