From 74ad0c532fe09bc2f101af9031c0817ba691b63a Mon Sep 17 00:00:00 2001 From: sdraris Date: Wed, 20 Aug 2025 10:47:00 +0200 Subject: [PATCH] global prefix added --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 737dd29..b12e128 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,6 +8,7 @@ async function bootstrap() { const configService = app.get(ConfigService); const port = configService.get('app.port', 3000); + app.setGlobalPrefix('api/v1'); await app.listen(port); console.log(`✅ P'titsPas API is running on: ${await app.getUrl()}`); }