♻️ 优化网关、认证中心配置,方便架构调整
This commit is contained in:
1 parent
3d85bb87f8
commit
5138c1e2b8
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -100,7 +100,8 @@ public class AuthorizationServerConfiguration {
|
||||
|
||||
AntPathRequestMatcher[] requestMatchers = new AntPathRequestMatcher[]{
|
||||
AntPathRequestMatcher.antMatcher("/token/**"), AntPathRequestMatcher.antMatcher("/actuator/**"),
|
||||
AntPathRequestMatcher.antMatcher("/css/**"), AntPathRequestMatcher.antMatcher("/error")};
|
||||
AntPathRequestMatcher.antMatcher("/code/**"), AntPathRequestMatcher.antMatcher("/css/**"),
|
||||
AntPathRequestMatcher.antMatcher("/error")};
|
||||
|
||||
http.authorizeHttpRequests(authorizeRequests -> {
|
||||
// 自定义接口、端点暴露
|
||||
|
||||
Reference in new issue
Block a user