mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-26 20:31:03 +00:00
feat: reducing http downloads duplicate
This commit is contained in:
@@ -16,6 +16,8 @@ export interface GofileContentsResponse {
|
||||
children: Record<string, GofileContentChild>;
|
||||
}
|
||||
|
||||
export const WT = "4fd6sg89d7s6";
|
||||
|
||||
export class GofileApi {
|
||||
private static token: string;
|
||||
|
||||
@@ -35,7 +37,7 @@ export class GofileApi {
|
||||
|
||||
public static async getDownloadLink(id: string) {
|
||||
const searchParams = new URLSearchParams({
|
||||
wt: "4fd6sg89d7s6",
|
||||
wt: WT,
|
||||
});
|
||||
|
||||
const response = await axios.get<{
|
||||
|
||||
Reference in New Issue
Block a user