mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-17 06:39:26 +08:00
Allow all for CORS
This commit is contained in:
parent
2a9a81d88d
commit
c90bd77ff4
1 changed files with 2 additions and 5 deletions
|
@ -164,8 +164,5 @@ EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
|
||||||
EMAIL_PORT = 587
|
EMAIL_PORT = 587
|
||||||
EMAIL_USE_TLS = True
|
EMAIL_USE_TLS = True
|
||||||
|
|
||||||
CORS_ALLOWED_ORIGINS = [
|
CORS_ALLOW_ALL_ORIGINS = True
|
||||||
"http://localhost:3000",
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
"http://localhost:8000",
|
|
||||||
"https://lemeow125.github.io",
|
|
||||||
]
|
|
||||||
|
|
Loading…
Reference in a new issue