diff --git a/src/main.ts b/src/main.ts index b105431..1a857c3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,9 @@ async function bootstrap() { const configService = app.get(ConfigService); const port = configService.get('app.port', 3000); - app.setGlobalPrefix('api/v1'); + app.setGlobalPrefix('api/v1', { + exclude: ['/api-docs'], + }); const config = new DocumentBuilder() .setTitle("P'titsPas API")