Skip to content

Commit

Permalink
Main should build now
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 authored Jan 14, 2025
1 parent 2c4ea3e commit b462e42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/[lang]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import { VERSION } from "astro:env/client";
function proxy(term: string, scram: typeof ScramjetController, pr: "uv" | "sj"): string {
const searchEngine = localStorage.getItem(Settings.ProxySettings.searchEngine);
const openIn = localStorage.getItem(Settings.ProxySettings.openIn);
//@ts-ignore
return pr === "uv" ? `${__uv$config!.prefix}${__uv$config.encodeUrl!(search(term, searchEngine ? SearchEngines[searchEngine] : SearchEngines.ddg))}` : scram.encodeUrl(search(term, searchEngine ? SearchEngines[searchEngine] : SearchEngines.ddg ))
}
async function uv(iframe: HTMLIFrameElement, term: string) {
Expand Down

0 comments on commit b462e42

Please sign in to comment.