Add env validation
This commit is contained in:
parent
43898b3b95
commit
6cd5e3188f
4 changed files with 62 additions and 2 deletions
|
|
@ -15,6 +15,6 @@ async function bootstrap() {
|
|||
logger.log("In development mode, not enabling CORS")
|
||||
}
|
||||
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
await app.listen(process.env.PORT);
|
||||
}
|
||||
bootstrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue