fix: Add CORS settings to product settings
This commit is contained in:
parent
ef2d7c2340
commit
7a5a61f609
@ -7,6 +7,9 @@ DEBUG = False
|
|||||||
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ")
|
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ")
|
||||||
|
|
||||||
|
|
||||||
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
|
CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS").split(" ")
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
|
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user