Comparing version 4.0.2 to 4.0.3
@@ -30,5 +30,5 @@ const https = require('https'); | ||
if (names[2] === `@${LOCALENV}`) { | ||
if ((names[2] || '').split(':')[0] === `@${LOCALENV}`) { | ||
cfg.host = 'localhost'; | ||
cfg.port = LOCALPORT; | ||
cfg.port = parseInt((names[2] || '').split(':')[1]) || LOCALPORT; | ||
names[2] = ''; | ||
@@ -35,0 +35,0 @@ pathname = names.slice(0, 2).join('/') + names.slice(2).join('/'); |
{ | ||
"name": "lib", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "StdLib: Standard Library for Microservices Node.js Bindings", | ||
@@ -5,0 +5,0 @@ "main": "lib.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15275