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
|
@Bean
|
||||||
public WebConfig webConfig() {
|
public InitializrWebConfig initializrWebConfig() {
|
||||||
return new WebConfig();
|
return new InitializrWebConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ import org.springframework.web.util.UrlPathHelper;
|
|||||||
*
|
*
|
||||||
* @author Stephane Nicoll
|
* @author Stephane Nicoll
|
||||||
*/
|
*/
|
||||||
public class WebConfig implements WebMvcConfigurer {
|
public class InitializrWebConfig implements WebMvcConfigurer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addViewControllers(ViewControllerRegistry registry) {
|
public void addViewControllers(ViewControllerRegistry registry) {
|
||||||
Reference in New Issue
Block a user