chore: configure dev ports (backend:3001, frontend:3000 + proxy)
This commit is contained in:
@@ -7,7 +7,7 @@ async function bootstrap() {
|
||||
app.setGlobalPrefix('api');
|
||||
app.enableCors();
|
||||
app.useGlobalPipes(new ValidationPipe({ transform: true, whitelist: true }));
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
console.log(`Server running on http://localhost:${process.env.PORT ?? 3000}`);
|
||||
await app.listen(process.env.PORT ?? 3001);
|
||||
console.log(`Server running on http://localhost:${process.env.PORT ?? 3001}`);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user