list gz and zip

This commit is contained in:
eko 2025-11-27 22:08:44 +07:00
parent bcb8b5fa18
commit 0c120e217e
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ export const _ = {
now: Date.now(), now: Date.now(),
current: parseInt(g.deploy.config.deploy.ts), current: parseInt(g.deploy.config.deploy.ts),
deploys: deploys deploys: deploys
.filter((e) => e.endsWith(".gz")) .filter((e) => e.endsWith(".gz") || e.endsWith(".zip"))
.map((e) => parseInt(e.replace(".gz", ""))), .map((e) => parseInt(e.replace(".gz", "").replace(".zip", ""))),
db: { db: {
url: g.dburl || "-", url: g.dburl || "-",
}, },