Disable spring boot cache control in order to enable browser caching.
This commit is contained in:
		
							parent
							
								
									6dc6dc063c
								
							
						
					
					
						commit
						5471325f60
					
				@ -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()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user