From 258af138324331e8d71de83cf706644124798c35 Mon Sep 17 00:00:00 2001 From: popovspiridon99 Date: Fri, 27 Mar 2026 17:29:55 +0900 Subject: [PATCH] change send_mail hostname --- src/components/DiscussSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DiscussSection.tsx b/src/components/DiscussSection.tsx index fc28c9b..7a4eb29 100644 --- a/src/components/DiscussSection.tsx +++ b/src/components/DiscussSection.tsx @@ -17,12 +17,12 @@ const DiscussSection = () => { axios.create({ headers: { 'Access-Control-Allow-Headers': 'Content-Type', - 'Access-Control-Allow-Origin': 'http://localhost:5173', + 'Access-Control-Allow-Origin': 'http://commit-it.ru:5173', 'Content-Type': 'application/json' } }) if (consult.conf) { - axios.post('http://localhost:3000/send_mail', consult).then(res => { + axios.post('http://commit-it.ru:3000/send_mail', consult).then(res => { if (res.data == 'OK') { setConsult({ fio: '',