We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fcf4f commit 85197f2Copy full SHA for 85197f2
src/main.ts
@@ -7,7 +7,7 @@ async function bootstrap() {
7
const app = await NestFactory.create(AppModule);
8
app.enableCors();
9
const configService = app.get(ConfigService);
10
- const port = configService.get<number>(3000);
+ const port = configService.get<number>('3000');
11
await app.listen(port);
12
13
}
0 commit comments