заменил переменную окружения

This commit is contained in:
Joe_Peach committed 2026-04-02 12:56:47 +03:00
1 parent df7a3a542c
commit 5de57cc7ad
2 files changed
+2 -2

No files matched your search

@@ -65,7 +65,7 @@ const ModalRequestForm: React.FC<Props> = ({ open, onClose }) => {
// ✅ Отправка данных на бэкенд
const sendToBackend = async (data: FormData): Promise<boolean> => {
try {
const response = await fetch(`/api/requests`, {
const response = await fetch(`/api/email`, {
method: "POST",
headers: {
"Content-Type": "application/json",