From e81866c1eb9ada80ac57164d89510501c7812701 Mon Sep 17 00:00:00 2001 From: VladislavCR Date: Fri, 15 Mar 2024 09:37:53 +0300 Subject: [PATCH] added localhost --- src/backend/config/settings/dev.py | 5 +++-- src/backend/config/settings/prod.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/backend/config/settings/dev.py b/src/backend/config/settings/dev.py index b27e54d..3860ef3 100644 --- a/src/backend/config/settings/dev.py +++ b/src/backend/config/settings/dev.py @@ -5,6 +5,7 @@ EMAIL_PORT = 587 CORS_ALLOWED_ORIGINS = [ - "http://89.23.117.80:3000", - "http://devcodepet.tw1.ru:80", + "http://89.23.117.80", + "http://devcodepet.tw1.ru", + "http://localhost:3000", ] diff --git a/src/backend/config/settings/prod.py b/src/backend/config/settings/prod.py index 371a570..19841cf 100644 --- a/src/backend/config/settings/prod.py +++ b/src/backend/config/settings/prod.py @@ -8,6 +8,7 @@ EMAIL_PORT = 587 CORS_ALLOWED_ORIGINS = [ - "http://89.23.117.168:3000", - "http://testcodepet.tw1.ru:80", + "http://89.23.117.168", + "http://testcodepet.tw1.ru", + "http://localhost:3000", ]