Skip to content

Commit

Permalink
fix: port
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphg6 committed Jan 17, 2023
1 parent ed1b736 commit 43ad396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import tracer from './tracer';

const { PORT = 5000 } = process.env;

async function bootstrap() {
await tracer.start();

const app = await NestFactory.create(AppModule);
await app.listen(3000);
await app.listen(PORT);
}
bootstrap();

0 comments on commit 43ad396

Please sign in to comment.