diff --git a/rumine/settings/base.py b/rumine/settings/base.py index 0c9aa86..4216af1 100644 --- a/rumine/settings/base.py +++ b/rumine/settings/base.py @@ -174,4 +174,9 @@ WAGTAILSEARCH_BACKENDS = { # Base URL to use when referring to full URLs within the Wagtail admin backend - # e.g. in notification emails. Don't include '/admin' or a trailing slash -WAGTAILADMIN_BASE_URL = "https://ru-mine.ru" +WAGTAILADMIN_BASE_URL = "https://shop.ru-mine.ru" + +CORS_ALLOWED_ORIGINS = [ + "https://shop.ru-mine.ru", + # Другие доверенные источники... +] \ No newline at end of file diff --git a/rumine/settings/dev.py b/rumine/settings/dev.py index 752a0a0..c6c2e2c 100644 --- a/rumine/settings/dev.py +++ b/rumine/settings/dev.py @@ -1,7 +1,7 @@ from .base import * # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = False +DEBUG = True # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = "django-insecure-opj&3@hcho2s_fr2ivz$6ufbx#zph+sxm)q%j-(i8(clv7qq1l"