Skip to content

Commit

Permalink
🧪 test: 测试生产环境swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanjunjie committed Jul 3, 2024
1 parent cc86485 commit 184ab70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nest-admin/servers/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function bootstrap() {
// 生产环境使用 nginx 可以将当前文档地址 屏蔽外部访问
SwaggerModule.setup(`${prefix}/docs`, app, document, {
swaggerOptions: {
persistAuthorization: true,
persistAuthorization: false,
},
customSiteTitle: 'Nest-Admin API Docs',
})
Expand Down

0 comments on commit 184ab70

Please sign in to comment.