@scout9/app 1.0.0-alpha.0.1.21 → 1.0.0-alpha.0.1.22
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
|
@@ -41,5 +41,9 @@ app.get('/', (req, res) => {
|
|
|
41
41
|
|
|
42
42
|
app.listen(process.env.PORT || 8080, err => {
|
|
43
43
|
if (err) throw err;
|
|
44
|
-
|
|
44
|
+
const protocol = process.env.PROTOCOL || 'http';
|
|
45
|
+
const host = process.env.HOST || 'localhost';
|
|
46
|
+
const port = process.env.PORT || 8080;
|
|
47
|
+
const fullUrl = `${protocol}://${host}:${port}`;
|
|
48
|
+
console.log(`> Running Scout9 auto-reply dev server on ${fullUrl}`);
|
|
45
49
|
});
|