Fix CORS
This commit is contained in:
parent
3ff849c95a
commit
8550e446bf
|
@ -8,7 +8,7 @@ SECRET_KEY = "django-insecure-opj&3@hcho2s_fr2ivz$6ufbx#zph+sxm)q%j-(i8(clv7qq1l
|
||||||
|
|
||||||
# SECURITY WARNING: define the correct hosts in production!
|
# SECURITY WARNING: define the correct hosts in production!
|
||||||
ALLOWED_HOSTS = ["*"]
|
ALLOWED_HOSTS = ["*"]
|
||||||
ALLOWED_HOSTS = ["https://shop.ru-mine.ru"]
|
ALLOWED_HOSTS = ["shop.ru-mine.ru"]
|
||||||
CSRF_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
|
CSRF_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
|
||||||
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
|
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
|
||||||
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]
|
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]
|
||||||
|
|
Loading…
Reference in New Issue