Skip to content

Commit cabe61f

Browse files
committed
feat: ec2 lab
1 parent b98fe8d commit cabe61f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const appPort = process.env.PORT || 3000;
77

88
async function bootstrap() {
99
const app = await NestFactory.create(AppModule);
10+
app.enableCors();
1011
app.useGlobalPipes(new ValidationPipe());
1112
app.useGlobalFilters(new CustomExceptionFilter());
1213

0 commit comments

Comments
 (0)