fix: update redirect link
This commit is contained in:
parent
aed37d6698
commit
c70a84db52
@ -30,9 +30,9 @@ export default async function google(
|
|||||||
});
|
});
|
||||||
|
|
||||||
const searchForm = `
|
const searchForm = `
|
||||||
<form onsubmit="window.location.href = '/?url=https://www.google.com/search?q='+ document.getElementById('q').value.split(' ').join('+'); return false">
|
<form onsubmit="window.location.href = '/get?url=https://www.google.com/search?q='+ document.getElementById('q').value.split(' ').join('+'); return false">
|
||||||
<input type="text" name="q" id="q">
|
<input type="text" name="q" id="q">
|
||||||
<input type="button" value="Search" onclick="window.location.href = '/?url=https://www.google.com/search?q='+ document.getElementById('q').value.split(' ').join('+');">
|
<input type="button" value="Search" onclick="window.location.href = '/get?url=https://www.google.com/search?q='+ document.getElementById('q').value.split(' ').join('+');">
|
||||||
</form>
|
</form>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user