Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
|
@@ -251,7 +251,7 @@ function submitRegistration() {
|
|
| 251 |
return;
|
| 252 |
}
|
| 253 |
|
| 254 |
-
fetch('
|
| 255 |
method: 'POST',
|
| 256 |
headers: { 'Content-Type': 'application/json' },
|
| 257 |
body: JSON.stringify({ name, email, phone })
|
|
|
|
| 251 |
return;
|
| 252 |
}
|
| 253 |
|
| 254 |
+
fetch('/submit', {
|
| 255 |
method: 'POST',
|
| 256 |
headers: { 'Content-Type': 'application/json' },
|
| 257 |
body: JSON.stringify({ name, email, phone })
|