Skip to content

Commit 5c24c2c

Browse files
committed
fix: 放行站点图标资源
1 parent bceec18 commit 5c24c2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/opensabre/authorization/config/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public SecurityFilterChain defaultSecurityFilterChain(HttpSecurity httpSecurity)
3939
// url安全配置
4040
httpSecurity.authorizeHttpRequests((authorizeHttpRequests) ->
4141
authorizeHttpRequests
42-
.requestMatchers("/doc.html", "/v3/**", "/webjars/**", "/assets/**", "favicon.svg", "/login")
42+
.requestMatchers("/doc.html", "/v3/**", "/webjars/**", "/assets/**", "/favicon.svg", "/login")
4343
.permitAll()
4444
.requestMatchers("/client**", "/oauth2/activate*", "/oauth2/consent", "/", "/profile")
4545
.authenticated());

0 commit comments

Comments
 (0)