mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-05-06 21:53:44 +02:00
refactor: change patch mirror url format
This commit is contained in:
@@ -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('_')),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user