Songyou commited on
Commit
1b10c0c
·
1 Parent(s): 98b1ab2
Files changed (1) hide show
  1. 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("http://localhost:8000/submit", {
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"