Fixed whoogle search redirects

This commit is contained in:
Hygna 2022-10-16 20:17:59 +01:00
parent eb0c848837
commit c6d5815cde
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ function redirect(url, type, initiator, forceRedirection) {
case "searxng": case "searxng":
return `${randomInstance}/?q=${encodeURIComponent(url.searchParams.get("q"))}` return `${randomInstance}/?q=${encodeURIComponent(url.searchParams.get("q"))}`
case "whoogle": case "whoogle":
return `${randomInstance}/search${encodeURIComponent(url.searchParams.get("q"))}` return `${randomInstance}/search?q=${encodeURIComponent(url.searchParams.get("q"))}`
case "librex": case "librex":
return `${randomInstance}/search.php?q=${encodeURIComponent(url.searchParams.get("q"))}` return `${randomInstance}/search.php?q=${encodeURIComponent(url.searchParams.get("q"))}`
case "send": case "send":