This commit is contained in:
Kseninia Mikhaylova 2024-04-26 17:22:04 +03:00
parent 162a5e7c03
commit 19a9e66269
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ ALLOWED_HOSTS = [
"back:8000",
]
CSRF_TRUSTED_ORIGINS = (
"https://demo.kustarshina.ru",
"http://localhost",
"http://192.168.103.159",
)
@ -52,6 +53,7 @@ CORS_ORIGIN_WHITELIST = [
"http://front:4173",
"http://front:5173",
"http://back:8000",
"https://demo.kustarshina.ru",
]
# Application definition