diff options
author | Vitaly Takmazov | 2018-06-28 12:07:07 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-06-28 12:07:07 +0300 |
commit | f14de2df1bdf4a3667241549a42a1dd80166cae8 (patch) | |
tree | fb096d493b28c1629f173fbb909e08199beb204c | |
parent | a4810340e53453e97106a998325af50243a7ab0d (diff) |
server: allow h2-console
-rw-r--r-- | juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java index f35acdee..41689bb1 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java @@ -120,6 +120,6 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { @Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/v2/api-docs", "/configuration/ui", "/swagger-resources/**", - "/configuration/**", "/swagger-ui.html", "/webjars/**", "/ws/**", "/rss/**"); + "/configuration/**", "/swagger-ui.html", "/webjars/**", "/ws/**", "/rss/**", "/h2-console/**"); } } |