mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
⚡ 优化功能。 spring boot admin iframe 嵌套
This commit is contained in:
1 parent
581071510a
commit
e436e075f8
1 file changed
+3
-1
+3
-1
@@ -46,7 +46,9 @@ public class WebSecurityConfigurer extends WebSecurityConfigurerAdapter {
|
||||
successHandler.setTargetUrlParameter("redirectTo");
|
||||
successHandler.setDefaultTargetUrl(adminContextPath + "/");
|
||||
|
||||
http.authorizeRequests()
|
||||
http
|
||||
.headers().frameOptions().disable()
|
||||
.and().authorizeRequests()
|
||||
.antMatchers(adminContextPath + "/assets/**"
|
||||
, adminContextPath + "/login"
|
||||
, adminContextPath + "/actuator/**"
|
||||
|
||||
Reference in new issue
Block a user