We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1cade commit 538a9cbCopy full SHA for 538a9cb
.env.example
@@ -1,6 +1,6 @@
1
# APP
2
+PORT=3000
3
NODE_ENV=development
-APP_PORT=3000
4
5
# DATABASE
6
DB_HOST=localhost
src/main.ts
@@ -16,7 +16,7 @@ async function bootstrap() {
16
17
setupSwagger(app);
18
19
- const port = configService.get<number>('APP_PORT');
+ const port = configService.get<number>('PORT');
20
const env = configService.get<string>('NODE_ENV');
21
await app.listen(port);
22
0 commit comments