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()}`); }