Merge pull request #193 from IncognitoTGT/main
Changed the default search engine
This commit is contained in:
commit
979afeedff
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue