Allow all for CORS

This commit is contained in:
keannu125 2023-03-10 23:11:07 +08:00
parent 2a9a81d88d
commit c90bd77ff4

View file

@ -164,8 +164,5 @@ EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
EMAIL_PORT = 587
EMAIL_USE_TLS = True
CORS_ALLOWED_ORIGINS = [
"http://localhost:3000",
"http://localhost:8000",
"https://lemeow125.github.io",
]
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True