feat: optimize source project pages and SEO

This commit is contained in:
王鹏
2026-08-25 11:08:59 +08:00
parent e528aa4876
commit 695fac5e3a
42 changed files with 5038 additions and 1025 deletions

View File

@@ -97,6 +97,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 过滤请求
.authorizeRequests()
.antMatchers("/profile/**").permitAll()
// Public sitemap must be crawlable without a token.
.antMatchers(HttpMethod.GET, "/sitemap.xml").permitAll()
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/register", "/captchaImage").anonymous()
// 首页获取文章信息 允许匿名访问