fix
This commit is contained in:
+6
-2
@@ -41,7 +41,9 @@ export const _ = {
|
|||||||
return {
|
return {
|
||||||
now: Date.now(),
|
now: Date.now(),
|
||||||
current: parseInt(g.deploy.config.deploy.ts),
|
current: parseInt(g.deploy.config.deploy.ts),
|
||||||
deploys: deploys.map((e) => parseInt(e.replace(".gz", ""))),
|
deploys: deploys
|
||||||
|
.filter((e) => e.endsWith(".gz"))
|
||||||
|
.map((e) => parseInt(e.replace(".gz", ""))),
|
||||||
db: {
|
db: {
|
||||||
url: g.dburl || "-",
|
url: g.dburl || "-",
|
||||||
},
|
},
|
||||||
@@ -148,7 +150,9 @@ export const _ = {
|
|||||||
return {
|
return {
|
||||||
now: Date.now(),
|
now: Date.now(),
|
||||||
current: parseInt(deploy.config.deploy.ts),
|
current: parseInt(deploy.config.deploy.ts),
|
||||||
deploys: deploys.map((e) => parseInt(e.replace(".gz", ""))),
|
deploys: deploys
|
||||||
|
.filter((e) => e.endsWith(".gz"))
|
||||||
|
.map((e) => parseInt(e.replace(".gz", ""))),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user