@jungjaehoon/mama-server 1.4.1 → 1.4.2
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
|
@@ -29,7 +29,7 @@ const { createGraphHandler } = require('./viewer/graph-api.js');
|
|
|
29
29
|
const graphHandler = createGraphHandler();
|
|
30
30
|
|
|
31
31
|
// Configuration
|
|
32
|
-
const DEFAULT_PORT = 3847;
|
|
32
|
+
const DEFAULT_PORT = parseInt(process.env.MAMA_HTTP_PORT, 10) || 3847;
|
|
33
33
|
const HOST = '127.0.0.1'; // localhost only for security
|
|
34
34
|
|
|
35
35
|
// Port file for clients to discover the server
|