add localhost:3000 to allowed

This commit is contained in:
simon 2022-04-23 20:17:31 +07:00
parent 3f99f7edff
commit 71b3654942
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -154,7 +154,7 @@ else:
r"moz-extension://*", r"moz-extension://*",
r"chrome-extension://*", r"chrome-extension://*",
] ]
CORS_ALLOWED_ORIGINS = ["http://localhost:8080"] CORS_ALLOWED_ORIGINS = ["http://localhost:3000"]
CORS_ALLOW_HEADERS = list(default_headers) + [ CORS_ALLOW_HEADERS = list(default_headers) + [