global prefix added

This commit is contained in:
sdraris 2025-08-20 10:47:00 +02:00
parent ca864f33b7
commit 74ad0c532f

View File

@ -8,6 +8,7 @@ async function bootstrap() {
const configService = app.get(ConfigService);
const port = configService.get<number>('app.port', 3000);
app.setGlobalPrefix('api/v1');
await app.listen(port);
console.log(`✅ P'titsPas API is running on: ${await app.getUrl()}`);
}