Commit b3d4b0238bcaade13d85619cd3fc3a06bc8278cd

Authored by Angel Caceres
1 parent 10753ac1

Fix port env

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -4,6 +4,6 @@ import { AppModule } from './modules/app/app.module';
4 4 async function bootstrap() {
5 5 const app = await NestFactory.create(AppModule);
6 6 app.enableCors({ origin: String(process.env.ALLOWED_ORIGINS).split(',') });
7   - await app.listen(Number(process.env.API_PORT));
  7 + await app.listen(Number(process.env.API_PORT || 3003));
8 8 }
9 9 bootstrap();
... ...
Please register or login to post a comment