Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -95,7 +95,7 @@
|
|
95 |
event.preventDefault();
|
96 |
const text = document.getElementById("embed-input").value;
|
97 |
fetch("/embed", {
|
98 |
-
method: "
|
99 |
headers: {
|
100 |
"Content-Type": "application/json"
|
101 |
},
|
@@ -112,7 +112,7 @@
|
|
112 |
const text = document.getElementById("search-input").value;
|
113 |
const n = document.getElementById("n-input").value;
|
114 |
fetch("/search", {
|
115 |
-
method: "
|
116 |
headers: {
|
117 |
"Content-Type": "application/json"
|
118 |
},
|
|
|
95 |
event.preventDefault();
|
96 |
const text = document.getElementById("embed-input").value;
|
97 |
fetch("/embed", {
|
98 |
+
method: "GET",
|
99 |
headers: {
|
100 |
"Content-Type": "application/json"
|
101 |
},
|
|
|
112 |
const text = document.getElementById("search-input").value;
|
113 |
const n = document.getElementById("n-input").value;
|
114 |
fetch("/search", {
|
115 |
+
method: "GET",
|
116 |
headers: {
|
117 |
"Content-Type": "application/json"
|
118 |
},
|