diff --git a/src/assets/javascripts/helpers/search.js b/src/assets/javascripts/helpers/search.js index c6f1500..ab8c0f2 100644 --- a/src/assets/javascripts/helpers/search.js +++ b/src/assets/javascripts/helpers/search.js @@ -552,7 +552,7 @@ async function init() { protocol = r.searchProtocol ?? 'normal'; - frontend = r.searchFrontend ?? 'searx'; + frontend = r.searchFrontend ?? 'searxng'; theme = r.theme ?? 'DEFAULT'; applyThemeToSites = r.applyThemeToSites ?? false; diff --git a/src/assets/javascripts/helpers/twitter.js b/src/assets/javascripts/helpers/twitter.js index ddcfe19..da33f09 100644 --- a/src/assets/javascripts/helpers/twitter.js +++ b/src/assets/javascripts/helpers/twitter.js @@ -211,7 +211,6 @@ function redirect(url, initiator) { // https://pbs.twimg.com/profile_images/648888480974508032/66_cUYfj_400x400.jpg if (url.host.split(".")[0] === "pbs" || url.host.split(".")[0] === "video") return `${randomInstance}/pic/${encodeURIComponent(url.href)}`; - else if (url.pathname.split("/").includes("tweets")) return `${randomInstance}${url.pathname.replace("/tweets", "")}${url.search}`; else if (url.host == 't.co')