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