Add Cache Headers to disable API responses and index caching by browser.
This commit is contained in:
parent
fea3e3d1c6
commit
ec91b3b9f4
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user