edit env
This commit is contained in:
parent
20f98f630f
commit
1b0e8054f4
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ try {
|
|||
export const environment: Environment = {
|
||||
port: parseInt(process.env.PORT || "6600", 10),
|
||||
host: process.env.HOST || "0.0.0.0",
|
||||
development: process.env.NODE_ENV === "development",
|
||||
development:
|
||||
process.env.NODE_ENV === "development" ||
|
||||
process.argv.includes("--dev"),
|
||||
};
|
||||
|
||||
export const redisConfig: RedisConfig = {
|
||||
|
|
Loading…
Add table
Reference in a new issue