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_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",
]