Commit ec91b3b9f45dcd8f267bf3d41534525b154dc2b4

Authored by Igor Kulikov
1 parent fea3e3d1

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

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