Skip to content

Commit

Permalink
chore: use keepshare
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Oct 13, 2024
1 parent dd784de commit a4ce26f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/app/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function getRuntimeEnv(locals: App.Locals): Env | undefined {

export function getPikPakUrlChecker(magnet: string) {
const url = magnet.split('&')[0];
// return 'https://keepshare.org/gv78k1oi/' + encodeURIComponent(url);
const replaced = url.replace(/^magnet:\?xt/, 'magnet:?xt.1');
return `https://mypikpak.com/drive/url-checker?url=${replaced}`;
return 'https://keepshare.org/gv78k1oi/' + encodeURIComponent(url);
// const replaced = url.replace(/^magnet:\?xt/, 'magnet:?xt.1');
// return `https://mypikpak.com/drive/url-checker?url=${replaced}`;
}

0 comments on commit a4ce26f

Please sign in to comment.