pinokiod 3.8.105 → 3.8.106

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.
@@ -51,7 +51,7 @@ class Router {
51
51
 
52
52
  console.log("BEFORE REPLACING", mapping)
53
53
 
54
- let host_mapping = mapping[host]
54
+ let host_mapping = mapping[this.kernel.peer.host]
55
55
  let json = JSON.stringify(host_mapping)
56
56
  for(let key in this.port_cache) {
57
57
  console.log("replacing", key, "with", this.port_cache[key])
@@ -59,7 +59,7 @@ class Router {
59
59
  }
60
60
  let m = JSON.parse(json)
61
61
 
62
- mapping[host] = m
62
+ mapping[this.kernel.peer.host] = m
63
63
 
64
64
  console.log("AFTER REPLACING", m)
65
65
  return mapping
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.105",
3
+ "version": "3.8.106",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {