From 7c1bfc34aef6846b7b16a96f3d432f06c5081972 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 24 Oct 2021 05:18:08 +0300 Subject: Handle .well-known/** requests with Spring Security --- src/main/java/com/juick/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index 8f6325f6..4371d84b 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -218,7 +218,7 @@ public class SecurityConfig { @Override public void configure(WebSecurity web) { web.debug(false); - web.ignoring().antMatchers("/style*.css", "/scripts*.js", "/h2-console/**", "/.well-known/**"); + web.ignoring().antMatchers("/style*.css", "/scripts*.js", "/h2-console/**"); } } } -- cgit v1.2.3