small fixes
This commit is contained in:
parent
27eb00223d
commit
2e1a3c7fb1
2
app.js
2
app.js
@ -64,7 +64,7 @@ const availableEnvironments = {
|
||||
};
|
||||
|
||||
if (!availableEnvironments[process.env.NODE_ENV]) {
|
||||
logger.fatal(new Error(`Invalid environment argument, valid ones: ${Object.keys(availableEnvironments).join(', ')}`));
|
||||
logger.fatal(new Error(`Invalid environment ${process.env.NODE_ENV} argument, valid ones: ${Object.keys(availableEnvironments).join(', ')}`));
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
var config = {
|
||||
environment: process.env.NODE_ENV,
|
||||
environment: process.env.CARTO_WINDSHAFT_NODE_ENV,
|
||||
port: 8181,
|
||||
host: null, // null on purpouse so it listens to whatever address docker assigns
|
||||
// Size of the threadpool which can be used to run user code and get notified in the loop thread
|
||||
|
Loading…
Reference in New Issue
Block a user