fix: 修复登录页点击认证源查询失败的问题

--bug=1023314 --user=刘瑞斌 【UI测试】场景详情-勾选性能模式-选择firefox-生产报告-截图场景步骤登录报错 https://www.tapd.cn/55049933/s/1338065
This commit is contained in:
CaptainB 2023-02-20 11:23:15 +08:00 committed by 刘瑞斌
parent 32bde6f289
commit 46aa5c9ff2
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ public class LoginFilter implements WebFilter, Ordered {
basePattern = new PathPatternParser().parse("/**");
// 网关首页
excludePatterns.add(new PathPatternParser().parse("/"));
// 认证源查询
excludePatterns.add(new PathPatternParser().parse("/authsource/*"));
// 各模块首页
swaggerUiConfigProperties.getUrls().forEach(v -> excludePatterns.add(new PathPatternParser().parse("/" + v.getName())));