diff options
author | Vitaly Takmazov | 2018-04-10 10:23:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-10 10:23:21 +0300 |
commit | 47ca89612bb367ae0a48987e2dc65d77a2b243a4 (patch) | |
tree | 63a184bfc6d7292a7bd562fffbf7449f3d72ab68 /juick-www | |
parent | a8094e3b0e3c81d8f77f9ccf07d2d5903a4ff5fa (diff) |
fix xmpp flow
Diffstat (limited to 'juick-www')
-rw-r--r-- | juick-www/build.gradle | 1 | ||||
-rw-r--r-- | juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/juick-www/build.gradle b/juick-www/build.gradle index 9e1ee3e4..2134b57e 100644 --- a/juick-www/build.gradle +++ b/juick-www/build.gradle @@ -31,6 +31,7 @@ dependencies { compile("org.springframework.boot:spring-boot-starter-cache") compile("org.springframework.boot:spring-boot-starter-web") compile ('org.springframework.boot:spring-boot-starter-security') + providedRuntime("org.springframework.boot:spring-boot-devtools") providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") providedRuntime 'com.h2database:h2:1.4.196' providedRuntime 'mysql:mysql-connector-java:5.1.45' diff --git a/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java b/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java index 4de79363..b13d03f5 100644 --- a/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java +++ b/juick-www/src/main/java/com/juick/www/configuration/WebSecurityConfig.java @@ -135,6 +135,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override public void configure(WebSecurity web) throws Exception { web.debug(false); - web.ignoring().antMatchers("/style.css*", "/scripts.js*", "/h2-console", "/.well-known/**"); + web.ignoring().antMatchers("/style.css*", "/scripts.js*", "/h2-console/**", "/.well-known/**"); } } |