From c783feef65399eb446d4b157bcb0e55c5a0c626e Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Thu, 10 Aug 2023 22:46:48 -0700 Subject: [PATCH] Add flavicon on auth exclusion. --- .../src/main/java/com/wisemapping/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/config/SecurityConfig.java b/wise-webapp/src/main/java/com/wisemapping/config/SecurityConfig.java index 00bc670d..754eabb2 100644 --- a/wise-webapp/src/main/java/com/wisemapping/config/SecurityConfig.java +++ b/wise-webapp/src/main/java/com/wisemapping/config/SecurityConfig.java @@ -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(); }