added global prefix as a start to requests
This commit is contained in:
parent
b313c62814
commit
824815b921
@ -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);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user