pinokiod 3.8.40 → 3.8.42
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.
- package/kernel/caddy.js +2 -2
- package/package.json +1 -1
package/kernel/caddy.js
CHANGED
|
@@ -210,7 +210,7 @@ class Caddy {
|
|
|
210
210
|
]
|
|
211
211
|
})
|
|
212
212
|
}
|
|
213
|
-
let namespaced_url = `${name}.${account}.localhost`.toLowerCase()
|
|
213
|
+
let namespaced_url = `${key}.${name}.${account}.localhost`.toLowerCase()
|
|
214
214
|
//if (!this._mapping[internal_ip]) {
|
|
215
215
|
// this._mapping[internal_ip] = new Set()
|
|
216
216
|
//}
|
|
@@ -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": [
|