mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
Merge branch 'main' into feature/torbox-integration
# Conflicts: # src/renderer/src/constants.ts # src/shared/constants.ts
This commit is contained in:
@@ -4,6 +4,7 @@ export enum Downloader {
|
||||
Gofile,
|
||||
PixelDrain,
|
||||
Qiwi,
|
||||
Datanodes,
|
||||
TorBox,
|
||||
}
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ export const getDownloadersForUri = (uri: string) => {
|
||||
|
||||
if (uri.startsWith("https://pixeldrain.com")) return [Downloader.PixelDrain];
|
||||
if (uri.startsWith("https://qiwi.gg")) return [Downloader.Qiwi];
|
||||
if (uri.startsWith("https://datanodes.to")) return [Downloader.Datanodes];
|
||||
|
||||
if (realDebridHosts.some((host) => uri.startsWith(host)))
|
||||
return [Downloader.RealDebrid];
|
||||
|
||||
Reference in New Issue
Block a user