forked from noxious/server
another fix, maybe
This commit is contained in:
@ -5,7 +5,8 @@ dotenv.config();
|
||||
class config
|
||||
{
|
||||
static ENV: string = process.env.ENV || "prod";
|
||||
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 5000;
|
||||
static HOST: string = process.env.HOST || "0.0.0.0";
|
||||
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 6969;
|
||||
static JWT_SECRET: string = process.env.JWT_SECRET || "secret";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user