diff --git a/README.md b/README.md index c5787401..55353c96 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@   -## 2. 总体服务拓扑图 +## 2. 项目总体架构图 -![](https://gitee.com/zlt2000/images/raw/master/服务拓扑图.png) +![](https://gitee.com/zlt2000/images/raw/master/spring cloud 微服务架构图.jpg)   diff --git a/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java b/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java index 844857de..f178536d 100644 --- a/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java +++ b/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java @@ -22,6 +22,7 @@ public class SecuritySecureConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity http) throws Exception { SavedRequestAwareAuthenticationSuccessHandler successHandler = new SavedRequestAwareAuthenticationSuccessHandler(); successHandler.setTargetUrlParameter("redirectTo"); + successHandler.setDefaultTargetUrl(adminContextPath + "/"); http.authorizeRequests() .antMatchers(adminContextPath + "/assets/**").permitAll()