allow all cors
This commit is contained in:
@@ -39,8 +39,9 @@ if not DEBUG:
|
|||||||
f"https://{DOMAIN}",
|
f"https://{DOMAIN}",
|
||||||
f"http://{DOMAIN}",
|
f"http://{DOMAIN}",
|
||||||
]
|
]
|
||||||
CORS_ALLOWED_ORIGINS = [f"https://{API_DOMAIN}", f"http://{API_DOMAIN}",
|
# CORS_ALLOWED_ORIGINS = [f"https://{API_DOMAIN}", f"http://{API_DOMAIN}",
|
||||||
f"http://{DOMAIN}", f"https://{DOMAIN}", ]
|
# f"http://{DOMAIN}", f"https://{DOMAIN}", ]
|
||||||
|
CORS_ALLOW_ALL_ORIGINS = True
|
||||||
# database postgres
|
# database postgres
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
|||||||
Reference in New Issue
Block a user