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