diff --git a/src/main.ts b/src/main.ts index a6a8300..a9ae0ee 100644 --- a/src/main.ts +++ b/src/main.ts @@ -41,11 +41,10 @@ async function bootstrap() { }, 'access-token', ) + .addServer('/api/v1') .build(); - const document = SwaggerModule.createDocument(app, config, { - ignoreGlobalPrefix: true, - }); + const document = SwaggerModule.createDocument(app, config); SwaggerModule.setup('api-docs', app, document);