From 19a9e66269b49ed4fe9a303bf514751243c2b12a Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Fri, 26 Apr 2024 17:22:04 +0300 Subject: [PATCH] docker --- back/back/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/back/back/settings.py b/back/back/settings.py index 5ca2af2..6e918e5 100644 --- a/back/back/settings.py +++ b/back/back/settings.py @@ -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