@ms-cloudpack/create-express-app
Advanced tools
Comparing version 1.9.3 to 1.10.0
@@ -54,7 +54,8 @@ import compression from 'compression'; | ||
const httpsServer = https.createServer(await parseHttpsConfig({ domain, https: sslOptions, cwd }), app); | ||
server = httpsServer.listen(port); | ||
// The 0.0.0.0 ip filter is needed for the server to be accessible from outside the container (e.g. WSL case) | ||
server = httpsServer.listen(port, '0.0.0.0'); | ||
} | ||
else { | ||
// Create an HTTP server. | ||
server = app.listen(port); | ||
server = app.listen(port, '0.0.0.0'); | ||
} | ||
@@ -61,0 +62,0 @@ } |
{ | ||
"name": "@ms-cloudpack/create-express-app", | ||
"version": "1.9.3", | ||
"version": "1.10.0", | ||
"description": "Helper for creating an express app server, abstracting a common plugin setup.", | ||
@@ -17,6 +17,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ms-cloudpack/common-types": "^0.21.1", | ||
"@ms-cloudpack/common-types": "^0.22.0", | ||
"@ms-cloudpack/path-string-parsing": "^1.2.4", | ||
"@ms-cloudpack/path-utilities": "^2.7.47", | ||
"@ms-cloudpack/setup-utilities": "^0.4.3", | ||
"@ms-cloudpack/path-utilities": "^2.7.48", | ||
"@ms-cloudpack/setup-utilities": "^0.4.4", | ||
"@types/express": "^4.17.16", | ||
@@ -23,0 +23,0 @@ "compression": "^1.7.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
28270
239
+ Added@ms-cloudpack/common-types@0.22.0(transitive)
- Removed@ms-cloudpack/common-types@0.21.1(transitive)