mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-06 12:11:13 +00:00
Remove @EnableWebMvc annotation from SnapAdminMvcConfig
The `@EnableWebMvc` annotation was removed to prevent overriding Spring Boot's default MVC configuration. This change ensures better compatibility with existing configurations and avoids potential conflicts in the application.
This commit is contained in:
@@ -22,12 +22,10 @@ package space.mori.dalbodeule.snapadmin.external;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@Configuration
|
||||
@EnableWebMvc
|
||||
public class SnapAdminMvcConfig implements WebMvcConfigurer {
|
||||
@Autowired
|
||||
private SnapAdminProperties properties;
|
||||
|
Reference in New Issue
Block a user