Add flavicon on auth exclusion.

main
Paulo Gustavo Veiga 2023-08-10 22:46:48 -07:00
parent ea12d0246c
commit c783feef65
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class SecurityConfig {
public SecurityFilterChain shareResourcesFilterChain(@NotNull final HttpSecurity http, @NotNull final HandlerMappingIntrospector introspector) throws Exception {
return http.authorizeHttpRequests(
(auth) ->
auth.requestMatchers("/static/**", "/css/**", "/js/**", "/images/**", "/").permitAll()
auth.requestMatchers("/static/**", "/css/**", "/js/**", "/images/**", "/favicon.ico").permitAll()
).build();
}