pixl-server-web 2.0.9 → 2.0.11

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 +2 -2
  2. package/web_server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixl-server-web",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "A web server component for the pixl-server framework.",
5
5
  "author": "Joseph Huckaby <jhuckaby@gmail.com>",
6
6
  "homepage": "https://github.com/jhuckaby/pixl-server-web",
@@ -23,7 +23,7 @@
23
23
  "async": "3.2.2",
24
24
  "class-plus": "^1.0.0",
25
25
  "errno": "0.1.7",
26
- "formidable": "3.5.1",
26
+ "formidable": "3.5.3",
27
27
  "mime": "2.5.2",
28
28
  "pixl-acl": "^1.0.4",
29
29
  "pixl-perf": "^1.0.0",
package/web_server.js CHANGED
@@ -263,7 +263,7 @@ class WebServer extends Component {
263
263
  }
264
264
 
265
265
  // default bind addr to localhost in debug mode
266
- if (this.server.debug && !this.config.get('http_bind_address') && !this.config.get('expose') && this.config.get('http_debug_bind_local')) {
266
+ if (this.server.debug && !this.config.get('http_bind_address') && !this.server.config.get('expose') && this.config.get('http_debug_bind_local')) {
267
267
  this.logDebug(5, "Setting bind address to localhost for debug mode");
268
268
  this.config.set('http_bind_address', 'localhost');
269
269
  }