forked from Ynov/ptitspas-ynov-back
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',
|
'access-token',
|
||||||
)
|
)
|
||||||
|
.addServer('/api/v1')
|
||||||
.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