Commit 716f14c61bfe7a878e9db79c63ebaca9fd12417e

Authored by Angel Caceres
1 parent e64a143b

port problems

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 || 3002));
8 8 }
9 9 bootstrap();
... ...
Please register or login to post a comment