This commit is contained in:
cutls 2021-02-16 23:00:00 +09:00
parent 4a5fb81170
commit 3f844bfe60

View File

@ -1108,12 +1108,7 @@ input.addEventListener(
if (prev_val != new_val) {
if (new_val.length > 3) {
var start = 'https://www.fediversesearch.com/search/?keyword=' + new_val
fetch(start, {
method: 'GET',
headers: {
'content-type': 'application/json',
}
})
fetch(start)
.then(function (response) {
if (!response.ok) {
response.text().then(function (text) {