add slash to url

This commit is contained in:
cutls 2021-02-16 22:28:15 +09:00
parent eff4bb0e2a
commit c2519f2dff

View File

@ -1107,7 +1107,7 @@ input.addEventListener(
var new_val = input.value
if (prev_val != new_val) {
if (new_val.length > 3) {
var start = 'https://www.fediversesearch.com/search?keyword=' + new_val
var start = 'https://www.fediversesearch.com/search/?keyword=' + new_val
fetch(start, {
method: 'GET',
headers: {