diff --git a/src/main.ts b/src/main.ts index 0245d78..ac48c7b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,14 @@ import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); - await app.listen(process.env.PORT ?? 3004); + const port = process.env.PORT || 3005; + await app.listen(port, () => + + console.log(` + 🔥 X-Poster is running! + 📡 API: http://localhost:${port} + `) + ); + } bootstrap();