заменил переменную окружения
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user