mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Фикс X-Frame-Options
This commit is contained in:
parent
1f2869f939
commit
a935fca410
@ -46,7 +46,11 @@ public class ApplicationConfiguration extends WebSecurityConfigurerAdapter imple
|
||||
.permitAll()
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
.httpBasic();
|
||||
.httpBasic()
|
||||
.and()
|
||||
.headers()
|
||||
.frameOptions()
|
||||
.sameOrigin();
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Loading…
Reference in New Issue
Block a user