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: '',