【优化】拦截地址

This commit is contained in:
2025-10-30 09:36:09 +08:00
parent 7eda1a85eb
commit 8aa6fc0abf

View File

@@ -32,7 +32,7 @@ public class SaTokenConfig implements WebMvcConfigurer {
// 排除固件查询接口(不需要登录) // 排除固件查询接口(不需要登录)
.excludePathPatterns("/firmware/**") .excludePathPatterns("/firmware/**")
// 排除静态资源 // 排除静态资源
.excludePathPatterns("/", "/index.html", "/admin/login.html", "/*.css", "/*.js", "/*.ico", "/static/**") .excludePathPatterns("/", "/loading.html", "/admin/login.html", "/*.css", "/*.js", "/*.ico", "/static/**")
// 排除后台管理静态资源 // 排除后台管理静态资源
.excludePathPatterns("/admin/**") .excludePathPatterns("/admin/**")
// 排除 Druid 监控 // 排除 Druid 监控