pinokiod 3.8.71 → 3.8.72

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.
Files changed (2) hide show
  1. package/kernel/index.js +1 -1
  2. package/package.json +1 -1
package/kernel/index.js CHANGED
@@ -200,7 +200,7 @@ class Kernel {
200
200
  }
201
201
  start_port () {
202
202
  if (this.router.port_mapping && Object.keys(this.router.port_mapping).length > 0) {
203
- let max_caddy_port = Math.max(Object.values(this.router.port_mapping))
203
+ let max_caddy_port = Math.max(...Object.values(this.router.port_mapping))
204
204
  let start_port = Math.max(42003, max_caddy_port + 1)
205
205
  console.log({ start_port })
206
206
  return start_port
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.71",
3
+ "version": "3.8.72",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {