mirror of https://github.com/halo-dev/halo
👽 修复后台favicon获取不到的问题
parent
0304ea4aca
commit
42e37e95f3
|
@ -61,5 +61,7 @@ public class MvcConfig implements WebMvcConfigurer {
|
|||
.addResourceLocations("classpath:/robots.txt");
|
||||
registry.addResourceHandler("/upload/**")
|
||||
.addResourceLocations("classpath:/upload/");
|
||||
registry.addResourceHandler("/favicon.ico")
|
||||
.addResourceLocations("classpath:/static/images/favicon.ico");
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue