From 0c120e217e51a8074975018b9f25b4402c8fb2a2 Mon Sep 17 00:00:00 2001 From: eko Date: Thu, 27 Nov 2025 22:08:44 +0700 Subject: [PATCH] list gz and zip --- pkgs/api/_deploy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/api/_deploy.ts b/pkgs/api/_deploy.ts index 21216ca..9d4be49 100644 --- a/pkgs/api/_deploy.ts +++ b/pkgs/api/_deploy.ts @@ -48,8 +48,8 @@ export const _ = { now: Date.now(), current: parseInt(g.deploy.config.deploy.ts), deploys: deploys - .filter((e) => e.endsWith(".gz")) - .map((e) => parseInt(e.replace(".gz", ""))), + .filter((e) => e.endsWith(".gz") || e.endsWith(".zip")) + .map((e) => parseInt(e.replace(".gz", "").replace(".zip", ""))), db: { url: g.dburl || "-", },