pinokiod 3.8.39 → 3.8.41

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/caddy.js +2 -2
  2. package/package.json +1 -1
package/kernel/caddy.js CHANGED
@@ -145,7 +145,7 @@ class Caddy {
145
145
 
146
146
  // create a proxy proxy
147
147
  // - get next available port and expose
148
- payload.apps.http.servers[":" + INTERNAL_PORT] = {
148
+ payload.apps.http.servers[ip + ":" + INTERNAL_PORT] = {
149
149
  "listen": ["0.0.0.0:PORT_PLACEHOLDER_" + ip + ":" + INTERNAL_PORT],
150
150
  "routes": [{
151
151
  "handle": [
@@ -396,7 +396,7 @@ class Caddy {
396
396
 
397
397
  this.ip_mapping[INTERNAL_PORT] = ip
398
398
 
399
- payload.apps.http.servers[":" + INTERNAL_PORT] = {
399
+ payload.apps.http.servers[ip + ":" + INTERNAL_PORT] = {
400
400
  "listen": ["0.0.0.0:PORT_PLACEHOLDER_" + ip + ":" + INTERNAL_PORT],
401
401
  "routes": [{
402
402
  "handle": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.39",
3
+ "version": "3.8.41",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {