Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dbruidb authored Mar 12, 2024
1 parent a6fcf4f commit 85197f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.enableCors();
const configService = app.get(ConfigService);
const port = configService.get<number>(3000);
const port = configService.get<number>('3000');
await app.listen(port);

}
Expand Down

0 comments on commit 85197f2

Please sign in to comment.