mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-24 22:29:25 +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()
|
.permitAll()
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
.and()
|
.and()
|
||||||
.httpBasic();
|
.httpBasic()
|
||||||
|
.and()
|
||||||
|
.headers()
|
||||||
|
.frameOptions()
|
||||||
|
.sameOrigin();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user