Skip to content

Commit 01f7286

Browse files
committed
bypass favicon from secrityFilterChain
1 parent 7f51253 commit 01f7286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/zaplink/ZapVerse/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity https) throws Except
4242

4343
https
4444
.authorizeHttpRequests( auth -> auth
45-
.requestMatchers("/login", "/css/**", "/register", "/avatars/**").permitAll()
45+
.requestMatchers("/login", "/css/**", "/register", "/avatars/**", "/favicon.ico").permitAll()
4646
.anyRequest().authenticated()
4747
)
4848

0 commit comments

Comments
 (0)