diff options
author | Vitaly Takmazov | 2018-10-08 15:48:52 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-08 15:48:52 +0300 |
commit | 3e2d3e20cb6e2cf03953b4fa2040ee102b29587f (patch) | |
tree | 400e5ef1a507e17ad980bbdd0c7cffa480299e0c | |
parent | 2ae9bb8e420d2c68fef9215fbed6d15c3a434b2e (diff) |
fix resources matcher in security configuration
-rw-r--r-- | juick-server/src/main/java/com/juick/server/configuration/SecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/configuration/SecurityConfig.java b/juick-server/src/main/java/com/juick/server/configuration/SecurityConfig.java index 9ce8621e..42542810 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/SecurityConfig.java +++ b/juick-server/src/main/java/com/juick/server/configuration/SecurityConfig.java @@ -209,7 +209,7 @@ public class SecurityConfig { @Override public void configure(WebSecurity web) { web.debug(false); - web.ignoring().antMatchers("/style.css*", "/scripts.js*", "/h2-console/**", "/.well-known/**", "/ws/**"); + web.ignoring().antMatchers("/style*.css", "/scripts*.js", "/h2-console/**", "/.well-known/**", "/ws/**"); } } } |