Fix forms 404: change action to /forms/ paths

This commit is contained in:
Kirik
2025-10-26 16:46:28 +01:00
parent 4eb7a82673
commit 60ead4e6d7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ disableComments = true
submitBtn.textContent = 'Отправляем...';
submitBtn.disabled = true;
fetch('/api/send_plan_simple.php', {
fetch('/forms/send_plan.php', {
method: 'POST',
body: formData
})
@@ -172,7 +172,7 @@ disableComments = true
</script>
<form class="travel-form" action="/api/send_plan_simple.php" method="POST">
<form class="travel-form" action="/forms/send_plan.php" method="POST">
<div class="form-group">
<label for="name">Имя *</label>
<input type="text" id="name" name="name" placeholder="Введите Ваше имя" required>