Merge pull request #193 from IncognitoTGT/main

Changed the default search engine
This commit is contained in:
rift 2023-12-31 17:46:17 -06:00 committed by GitHub
commit 979afeedff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ export function ProxyFrame(props: { url: string }) {
const localProxy = localStorage.getItem("proxy") || "automatic";
const proxyMode = localStorage.getItem("proxyMode") || "embed";
const searchEngine =
localStorage.getItem("searchEngine") || "https://google.com/search?q=%s";
localStorage.getItem("searchEngine") || "https://duckduckgo.com/?q=%s";
const [ProxiedUrl, setProxiedUrl] = useState<string | undefined>(undefined);
//@ts-ignore

View file

@ -20,9 +20,9 @@ const Proxy = ({ id, active }) => {
];
const searchEngines = [
{ id: "https://duckduckgo.com/?q=%s", label: "DuckDuckGo" },
{ id: "https://google.com/search?q=%s", label: "Google" },
{ id: "https://bing.com/search?q=%s", label: "Bing" },
{ id: "https://duckduckgo.com/?q=%s", label: "DuckDuckGo" }
{ id: "https://bing.com/search?q=%s", label: "Bing" }
];
return (