@axium/server 0.26.2 → 0.26.3

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/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -546,7 +546,7 @@ try {
546
546
  ssl_key: opt.ssl ? join(opt.ssl, 'key.pem') : config.web.ssl_key,
547
547
  build: opt.build ? resolve(opt.build) : config.web.build,
548
548
  });
549
- const port = !Number.isNaN(Number.parseInt(opt.port ?? '')) ? Number.parseInt(opt.port) : config.web.port;
549
+ const port = !Number.isNaN(Number.parseInt(opt.port ?? 'NaN')) ? Number.parseInt(opt.port) : config.web.port;
550
550
  server.listen(port, () => {
551
551
  console.log('Server is listening on port ' + port);
552
552
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/server",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",