👽 修复后台favicon获取不到的问题

pull/18/head
ruibaby 2018-05-30 12:55:23 +08:00
parent 0304ea4aca
commit 42e37e95f3
2 changed files with 2 additions and 0 deletions

View File

@ -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