mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-03 03:44:05 +08:00
Polish
This commit is contained in:
@@ -132,8 +132,8 @@ public class InitializrAutoConfiguration {
|
||||
|
||||
|
||||
@Bean
|
||||
public WebConfig webConfig() {
|
||||
return new WebConfig();
|
||||
public InitializrWebConfig initializrWebConfig() {
|
||||
return new InitializrWebConfig();
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -40,7 +40,7 @@ import org.springframework.web.util.UrlPathHelper;
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
public class WebConfig implements WebMvcConfigurer {
|
||||
public class InitializrWebConfig implements WebMvcConfigurer {
|
||||
|
||||
@Override
|
||||
public void addViewControllers(ViewControllerRegistry registry) {
|
||||
Reference in New Issue
Block a user