mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 01:15:47 +01:00
Changing the torrent search url
For @WalkxCode
This commit is contained in:
@@ -48,7 +48,7 @@ export default function SearchBar(props: any) {
|
|||||||
if (isYoutube) {
|
if (isYoutube) {
|
||||||
window.open(`https://www.youtube.com/results?search_query=${querry.substring(3)}`);
|
window.open(`https://www.youtube.com/results?search_query=${querry.substring(3)}`);
|
||||||
} else if (isTorrent) {
|
} else if (isTorrent) {
|
||||||
window.open(`https://thepiratebay.org/search.php?q=${querry.substring(3)}`);
|
window.open(`https://bitsearch.to/search?q=${querry.substring(3)}`);
|
||||||
} else {
|
} else {
|
||||||
window.open(`${querryUrl}${values.querry}`);
|
window.open(`${querryUrl}${values.querry}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user