Skip to content

Commit

Permalink
feat(BE): 서버 포트 환경 변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
eeseung committed May 23, 2024
1 parent 5dfabf3 commit 14de6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/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(parseInt(process.env.PORT, 10) || 3000);
}
bootstrap();

0 comments on commit 14de6fb

Please sign in to comment.