diff options
author | Vitaly Takmazov | 2021-10-24 05:18:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-10-24 05:18:08 +0300 |
commit | 7c1bfc34aef6846b7b16a96f3d432f06c5081972 (patch) | |
tree | 056df9e04e20bd4210c1bbb0445bbcbfa7f274fd | |
parent | b2fe8b2ce6e8c59b93e19b714d7dc30e4f2d9965 (diff) |
Handle .well-known/** requests with Spring Security
-rw-r--r-- | src/main/java/com/juick/config/SecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
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/**"); } } } |