Skip to content

Commit 338dd6b

Browse files
committed
feat: ec2 lab
1 parent 02af1ac commit 338dd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ async function bootstrap() {
77
const app = await NestFactory.create(AppModule);
88
app.useGlobalPipes(new ValidationPipe());
99
app.useGlobalFilters(new CustomExceptionFilter());
10-
await app.listen(3000);
10+
await app.listen(process.env.PORT || 3000);
1111
}
1212
bootstrap();

0 commit comments

Comments
 (0)