chore: 处理订阅输出哪吒探针兼容响应的 Uptime 字段

This commit is contained in:
xream 2024-04-09 13:48:33 +08:00
parent 6217c2e5cd
commit 2a1c2eb9df
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.14.279", "version": "2.14.280",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -387,7 +387,7 @@ function nezhaTransform(output) {
NetOutTransfer: 0, NetOutTransfer: 0,
NetInSpeed: 0, NetInSpeed: 0,
NetOutSpeed: 0, NetOutSpeed: 0,
Uptime: 0, Uptime: parseInt(proxy._uptime ?? index, 10),
Load1: 0, Load1: 0,
Load5: 0, Load5: 0,
Load15: 0, Load15: 0,