Skip to content

Commit 2a1c2eb

Browse files
committed
chore: 处理订阅输出哪吒探针兼容响应的 Uptime 字段
1 parent 6217c2e commit 2a1c2eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.14.279",
3+
"version": "2.14.280",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/restful/download.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function nezhaTransform(output) {
387387
NetOutTransfer: 0,
388388
NetInSpeed: 0,
389389
NetOutSpeed: 0,
390-
Uptime: 0,
390+
Uptime: parseInt(proxy._uptime ?? index, 10),
391391
Load1: 0,
392392
Load5: 0,
393393
Load15: 0,

0 commit comments

Comments
 (0)