telos-server 1.0.25 → 1.0.27

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/telosServer.js +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telos-server",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "An Extensible CMS Server for Telos Origin.",
5
5
  "main": "telosServer.json",
6
6
  "dependencies": {
package/telosServer.js CHANGED
@@ -155,11 +155,13 @@ var telosServer = {
155
155
  }
156
156
 
157
157
  let config = telosUtils.getArguments(packet.content);
158
+ let options = config.options;
158
159
 
159
- if(config.operation != 'telos-origin/telosOrigin.json' && port == null)
160
- return;
160
+ if(config.operation != 'telos-origin/telosOrigin.json' &&
161
+ options.port == null) {
161
162
 
162
- let options = config.options;
163
+ return;
164
+ }
163
165
 
164
166
  if(options.port != false) {
165
167