pinokiod 3.8.69 → 3.8.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -186,7 +186,7 @@ class Api {
186
186
  type: "disconnect"
187
187
  })
188
188
  console.timeEnd("stop 4")
189
- this.kernel.refresh()
189
+ this.kernel.refresh(true)
190
190
  return true
191
191
  }
192
192
  async startScripts() {
@@ -1074,7 +1074,7 @@ class Api {
1074
1074
  })
1075
1075
  }
1076
1076
  }
1077
- this.kernel.refresh()
1077
+ this.kernel.refresh(true)
1078
1078
  } catch (e) {
1079
1079
  ondata({ raw: e.toString() })
1080
1080
  }
@@ -44,7 +44,7 @@ class Caddy {
44
44
  }
45
45
  })
46
46
  })
47
- this.kernel.refresh()
47
+ this.kernel.refresh(true)
48
48
  }
49
49
  // const config = {
50
50
  // "apps": {
package/kernel/procs.js CHANGED
@@ -101,7 +101,7 @@ class Procs {
101
101
  return { port, pid , name, fullname, ip }
102
102
  })
103
103
  list = list.filter((item) => {
104
- return item.name.toLowerCase() !== "caddy"
104
+ return !["caddy", "caddy.exe"].includes(item.name.toLowerCase())
105
105
  })
106
106
  resolve(list)
107
107
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.69",
3
+ "version": "3.8.70",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -3320,7 +3320,7 @@ class Server {
3320
3320
  }))
3321
3321
  this.app.post("/pinokio/peer/refresh", ex(async (req, res) => {
3322
3322
  // refresh and broadcast
3323
- await this.kernel.refresh(true)
3323
+ await this.kernel.refresh()
3324
3324
  res.json({ success: true })
3325
3325
  }))
3326
3326
  this.app.get("/pinokio/peer", ex((req, res) => {