mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Polish Config Server
This commit is contained in:
@@ -23,6 +23,7 @@ import org.springframework.cloud.config.server.EnableConfigServer;
|
||||
import org.springframework.cloud.config.server.config.ConfigServerAutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Nacos Config Server Auto-Configuration
|
||||
@@ -35,6 +36,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
"com.alibaba.nacos.config.server",
|
||||
})
|
||||
@AutoConfigureBefore(ConfigServerAutoConfiguration.class)
|
||||
@Configuration
|
||||
public class NacosConfigServerAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
|
Reference in New Issue
Block a user