refactor: change patch mirror url format

This commit is contained in:
daydreamer-json
2026-04-17 14:54:49 +09:00
parent 743afb07fc
commit a82fd36c8e
2 changed files with 94 additions and 94 deletions

View File

@@ -308,7 +308,7 @@ async function fetchAndSaveLatestGamePatches(gameTargets: GameTarget[]) {
// new URL(rsp.patch.url).pathname.split('/').filter(Boolean).slice(-3).join('_'),
// );
rsp.patch.patches.forEach((e) =>
queueAssetForMirroring(e.url, new URL(e.url).pathname.split('/').filter(Boolean).slice(-4).join('_')),
queueAssetForMirroring(e.url, new URL(e.url).pathname.split('/').filter(Boolean).slice(-6).join('_')),
);
}
}