Skip to content

Commit 538a9cb

Browse files
committed
chore: 환경 변수 APP_PORT를 PORT로 변경
1 parent 4d1cade commit 538a9cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# APP
2+
PORT=3000
23
NODE_ENV=development
3-
APP_PORT=3000
44

55
# DATABASE
66
DB_HOST=localhost

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function bootstrap() {
1616

1717
setupSwagger(app);
1818

19-
const port = configService.get<number>('APP_PORT');
19+
const port = configService.get<number>('PORT');
2020
const env = configService.get<string>('NODE_ENV');
2121
await app.listen(port);
2222

0 commit comments

Comments
 (0)