pinokiod 3.8.45 → 3.8.46

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
- await this.kernel.caddy.update()
189
+ await this.kernel.router.refresh()
190
190
  return true
191
191
  }
192
192
  async startScripts() {
@@ -1074,7 +1074,7 @@ class Api {
1074
1074
  })
1075
1075
  }
1076
1076
  }
1077
- await this.kernel.caddy.update()
1077
+ await this.kernel.router.refresh()
1078
1078
  } catch (e) {
1079
1079
  ondata({ raw: e.toString() })
1080
1080
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.45",
3
+ "version": "3.8.46",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {