From 01c593020c2dedc14e33f70df0ebb7c86110120f Mon Sep 17 00:00:00 2001 From: phzhik Date: Fri, 7 Jul 2023 00:18:58 +0400 Subject: [PATCH] * fixed CORS settings --- poizonstore/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/poizonstore/settings.py b/poizonstore/settings.py index b780f32..7fbec4a 100644 --- a/poizonstore/settings.py +++ b/poizonstore/settings.py @@ -33,6 +33,9 @@ ALLOWED_HOSTS = ["crm-poizonstore.ru", "127.0.0.1", "localhost", "45.84.227.72"] INTERNAL_IPS = ["127.0.0.1"] CORS_ALLOWED_ORIGINS = [ + "http://poizonstore.com", + "https://poizonstore.com", + "http://crm-poizonstore.ru", "https://crm-poizonstore.ru",