ultimate-express 1.2.28 → 1.2.29

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-express",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -223,6 +223,9 @@ class Application extends Router {
223
223
  }
224
224
  } else {
225
225
  args.push(port, onListen);
226
+ if(host) {
227
+ args.unshift(host);
228
+ }
226
229
  }
227
230
  this.listenCalled = true;
228
231
  this.uwsApp[fn](...args);