This commit is contained in:
2026-02-04 15:42:15 +08:00
parent 2c64f7575f
commit 102fe8a94b

View File

@@ -114,7 +114,7 @@ public class SecurityConfig
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
requests.antMatchers("/login", "/register", "/captchaImage","/aiCommon/**","/voice-websocket/multiple/**",
"/voice-websocket/**","/voice-websocket/multiplePcm/**","/verification/email/send","/verification/email/verify","/verification/phone/send",
"/forgotPassword","/verification/email/register/send","/voice-websocket/elevenLabsAgent/**","/oauth2/authorize/**").permitAll()
"/forgotPassword","/verification/email/register/send","/voice-websocket/elevenLabsAgent/**","/oauth2/authorize/**","/prod-api/oauth2/authorize/**").permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()