Skip to content

Commit

Permalink
chore: resolve conflicts, update to nullish coalescing
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Oct 16, 2024
2 parents 7acea9b + f06b2da commit 1572899
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/application/files/js/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
await app.listen(process.env.PORT || 3000);
}
bootstrap();
2 changes: 1 addition & 1 deletion src/lib/application/files/ts/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
await app.listen(process.env.PORT ?? 3000);
}
bootstrap();
2 changes: 1 addition & 1 deletion src/lib/sub-app/files/js/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
await app.listen(process.env.PORT || 3000);
}
bootstrap();
2 changes: 1 addition & 1 deletion src/lib/sub-app/files/ts/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { <%= classify(name) %>Module } from './<%= name %>.module';

async function bootstrap() {
const app = await NestFactory.create(<%= classify(name) %>Module);
await app.listen(3000);
await app.listen(process.env.port ?? 3000);
}
bootstrap();

0 comments on commit 1572899

Please sign in to comment.