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