This commit is contained in:
itqop 2024-03-17 18:12:39 +03:00
parent 78d227a5c4
commit 12b76ce7a5
2 changed files with 7 additions and 2 deletions

View File

@ -174,4 +174,9 @@ WAGTAILSEARCH_BACKENDS = {
# Base URL to use when referring to full URLs within the Wagtail admin backend - # 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 # 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",
# Другие доверенные источники...
]

View File

@ -1,7 +1,7 @@
from .base import * from .base import *
# SECURITY WARNING: don't run with debug turned on in production! # 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! # 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" SECRET_KEY = "django-insecure-opj&3@hcho2s_fr2ivz$6ufbx#zph+sxm)q%j-(i8(clv7qq1l"