Disable spring boot cache control in order to enable browser caching.

This commit is contained in:
Igor Kulikov 2016-12-15 10:37:30 +02:00
parent 6dc6dc063c
commit 5471325f60

View File

@ -134,7 +134,7 @@ public class ThingsboardSecurityConfiguration extends WebSecurityConfigurerAdapt
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
http.headers().frameOptions().disable() http.headers().cacheControl().disable().frameOptions().disable()
.and() .and()
.csrf().disable() .csrf().disable()
.exceptionHandling() .exceptionHandling()