Add Cache Headers to disable API responses and index caching by browser.

This commit is contained in:
Igor Kulikov 2017-09-28 19:27:52 +03:00
parent fea3e3d1c6
commit ec91b3b9f4

View File

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