mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
Merge branch 'dev' of https://gitee.ltd/pig/pigx into dev
This commit is contained in:
commit
e9fabeebe1
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