开启应用监控

This commit is contained in:
Guoqs
2025-07-17 11:50:46 +08:00
parent 0b19fb888d
commit 1cce23cdf0
4 changed files with 44 additions and 4 deletions

View File

@@ -110,6 +110,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
.antMatchers("/actuator/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
.and()