pinokiod 3.4.8 → 3.4.10
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/package.json +1 -1
- package/server/index.js +10 -8
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -2056,14 +2056,6 @@ class Server {
|
|
|
2056
2056
|
this.debug = options.debug
|
|
2057
2057
|
this.browser = options.browser
|
|
2058
2058
|
}
|
|
2059
|
-
try {
|
|
2060
|
-
let _home = this.kernel.store.get("home")
|
|
2061
|
-
if (_home) {
|
|
2062
|
-
await this.startLogging(_home)
|
|
2063
|
-
}
|
|
2064
|
-
} catch (e) {
|
|
2065
|
-
console.log("start logging attempt", e)
|
|
2066
|
-
}
|
|
2067
2059
|
|
|
2068
2060
|
if (this.listening) {
|
|
2069
2061
|
// stop proxies
|
|
@@ -2094,6 +2086,16 @@ class Server {
|
|
|
2094
2086
|
// configure from kernel.store
|
|
2095
2087
|
await this.syncConfig()
|
|
2096
2088
|
|
|
2089
|
+
try {
|
|
2090
|
+
let _home = this.kernel.store.get("home")
|
|
2091
|
+
console.log({ _home })
|
|
2092
|
+
if (_home) {
|
|
2093
|
+
await this.startLogging(_home)
|
|
2094
|
+
}
|
|
2095
|
+
} catch (e) {
|
|
2096
|
+
console.log("start logging attempt", e)
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2097
2099
|
// determine port if port is not passed in
|
|
2098
2100
|
|
|
2099
2101
|
if (options && options.port) {
|