fix
This commit is contained in:
1 parent
4161fddb31
commit
398a09ad83
2 files changed
+2
No files matched your search
@@ -19,6 +19,7 @@ async function bootstrap() {
|
||||
.addBearerAuth()
|
||||
.build();
|
||||
const document = SwaggerModule.createDocument(app, config);
|
||||
document.servers = [{ url: process.env.SERVER_PREFIX }];
|
||||
SwaggerModule.setup('docs', app, document, {
|
||||
jsonDocumentUrl: 'docs/json',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user