reset main for swagger
This commit is contained in:
+3
-1
@@ -43,7 +43,9 @@ async function bootstrap() {
|
||||
)
|
||||
.build();
|
||||
|
||||
const document = SwaggerModule.createDocument(app, config);
|
||||
const document = SwaggerModule.createDocument(app, config, {
|
||||
ignoreGlobalPrefix: true,
|
||||
});
|
||||
SwaggerModule.setup('api-docs', app, document);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user