File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { AppModule } from './app.module';
33
44async function bootstrap ( ) {
55 const app = await NestFactory . create ( AppModule ) ;
6- await app . listen ( 3000 ) ;
6+ await app . listen ( process . env . PORT || 3000 ) ;
77}
88bootstrap ( ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { AppModule } from './app.module';
33
44async function bootstrap ( ) {
55 const app = await NestFactory . create ( AppModule ) ;
6- await app . listen ( 3000 ) ;
6+ await app . listen ( process . env . PORT || 3000 ) ;
77}
88bootstrap ( ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { AppModule } from './app.module';
33
44async function bootstrap ( ) {
55 const app = await NestFactory . create ( AppModule ) ;
6- await app . listen ( 3000 ) ;
6+ await app . listen ( process . env . PORT || 3000 ) ;
77}
88bootstrap ( ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { AppModule } from './app.module';
33
44async function bootstrap ( ) {
55 const app = await NestFactory . create ( AppModule ) ;
6- await app . listen ( 3000 ) ;
6+ await app . listen ( process . env . PORT || 3000 ) ;
77}
88bootstrap ( ) ;
You can’t perform that action at this time.
0 commit comments