mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +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:
parent
35b02d156b
commit
61ff240456
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user