Skip to content

Commit 85197f2

Browse files
authored
Update main.ts
1 parent a6fcf4f commit 85197f2

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,7 +7,7 @@ async function bootstrap() {
77
const app = await NestFactory.create(AppModule);
88
app.enableCors();
99
const configService = app.get(ConfigService);
10-
const port = configService.get<number>(3000);
10+
const port = configService.get<number>('3000');
1111
await app.listen(port);
1212

1313
}

0 commit comments

Comments
 (0)