Spaces:
Sleeping
Sleeping
change
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
<script>
|
| 15 |
function submitInput() {
|
| 16 |
const input = document.getElementById("user_input").value;
|
| 17 |
-
fetch("
|
| 18 |
method: "POST",
|
| 19 |
headers: {
|
| 20 |
"Content-Type": "application/json"
|
|
|
|
| 14 |
<script>
|
| 15 |
function submitInput() {
|
| 16 |
const input = document.getElementById("user_input").value;
|
| 17 |
+
fetch("/submit", {
|
| 18 |
method: "POST",
|
| 19 |
headers: {
|
| 20 |
"Content-Type": "application/json"
|