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
+1 -1
View File
@@ -67,7 +67,7 @@ disableComments = true
}); });
</script> </script>
<form class="contact-form" action="/api/send_ask.php" method="POST"> <form class="contact-form" action="/forms/send_ask.php" method="POST">
<div class="form-group"> <div class="form-group">
<label for="name">Ваше имя *</label> <label for="name">Ваше имя *</label>
<input type="text" id="name" name="name" required> <input type="text" id="name" name="name" required>
+2 -2
View File
@@ -120,7 +120,7 @@ disableComments = true
submitBtn.textContent = 'Отправляем...'; submitBtn.textContent = 'Отправляем...';
submitBtn.disabled = true; submitBtn.disabled = true;
fetch('/api/send_plan_simple.php', { fetch('/forms/send_plan.php', {
method: 'POST', method: 'POST',
body: formData body: formData
}) })
@@ -172,7 +172,7 @@ disableComments = true
</script> </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"> <div class="form-group">
<label for="name">Имя *</label> <label for="name">Имя *</label>
<input type="text" id="name" name="name" placeholder="Введите Ваше имя" required> <input type="text" id="name" name="name" placeholder="Введите Ваше имя" required>