pinokiod 3.8.66 → 3.8.67

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.
@@ -23,6 +23,10 @@ class Router {
23
23
  this.default_match = this.default_prefix + "." + this.default_suffix
24
24
  this.default_port = "42000"
25
25
  this.default_host = "127.0.0.1"
26
+
27
+ this._mapping = {}
28
+ this.port_mapping = {} // 127.0.0.1 => 192.168,..
29
+ this.local_network_mapping = {}
26
30
  }
27
31
  async add({ host, match, dial }) {
28
32
  if (!this._mapping[host]) {
@@ -144,9 +148,9 @@ class Router {
144
148
  }
145
149
 
146
150
  async refresh() {
147
- this._mapping = {}
148
- this.port_mapping = {} // 127.0.0.1 => 192.168,..
149
- this.local_network_mapping = {}
151
+ // this._mapping = {}
152
+ // this.port_mapping = {} // 127.0.0.1 => 192.168,..
153
+ // this.local_network_mapping = {}
150
154
 
151
155
  // 1. Localhost handling
152
156
  this.localhost_home_router.handle()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.66",
3
+ "version": "3.8.67",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {