From d526200ef4c2e4767e69d2c3bcfc694a060c9962 Mon Sep 17 00:00:00 2001 From: phzhik Date: Fri, 7 Jul 2023 00:15:10 +0400 Subject: [PATCH] * fixed CORS settings --- poizonstore/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poizonstore/settings.py b/poizonstore/settings.py index 1639c02..88b3de2 100644 --- a/poizonstore/settings.py +++ b/poizonstore/settings.py @@ -33,8 +33,8 @@ ALLOWED_HOSTS = ["crm-poizonstore.ru", "127.0.0.1", "localhost", "45.84.227.72"] INTERNAL_IPS = ["127.0.0.1"] CORS_ALLOWED_ORIGINS = [ - "http://crm-poizonstore.ru/", - "https://crm-poizonstore.ru/", + "http://crm-poizonstore.ru", + "https://crm-poizonstore.ru", "http://localhost:8001", "https://localhost:8001",