|
|
|
@ -31,8 +31,7 @@ public class ResourcesConfig implements WebMvcConfigurer |
|
|
|
|
registry.addResourceHandler(Constants.RESOURCE_PREFIX + "/**").addResourceLocations("file:" + RuoYiConfig.getProfile() + "/"); |
|
|
|
|
|
|
|
|
|
/** swagger配置 */ |
|
|
|
|
registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/"); |
|
|
|
|
registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/"); |
|
|
|
|
registry.addResourceHandler("/swagger-ui/**").addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|