telos-server 1.0.24 → 1.0.26
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/telosServer.js +5 -2
package/package.json
CHANGED
package/telosServer.js
CHANGED
|
@@ -156,8 +156,11 @@ var telosServer = {
|
|
|
156
156
|
|
|
157
157
|
let config = telosUtils.getArguments(packet.content);
|
|
158
158
|
|
|
159
|
-
if(config.operation != 'telos-origin/telosOrigin.json'
|
|
159
|
+
if(config.operation != 'telos-origin/telosOrigin.json' &&
|
|
160
|
+
options.port == null) {
|
|
161
|
+
|
|
160
162
|
return;
|
|
163
|
+
}
|
|
161
164
|
|
|
162
165
|
let options = config.options;
|
|
163
166
|
|
|
@@ -174,7 +177,7 @@ var telosServer = {
|
|
|
174
177
|
telosServer.server = http.createServer(telosServer.process);
|
|
175
178
|
telosServer.server.listen(port);
|
|
176
179
|
|
|
177
|
-
console.log(
|
|
180
|
+
console.log(`TELOS SERVER ON! RUNNING ON PORT ${port}!`);
|
|
178
181
|
});
|
|
179
182
|
}
|
|
180
183
|
},
|