Custom Favicon
将favicon.ico放在src/main/resources
根目录或src/main/resources/static
(推荐)目录下,springboot会自动去加载该favicon,最后实在没有找到才会去加载默认的绿叶子。
Spring Boot looks for a favicon.ico in the configured static content locations and the root of the classpath (in that order). If such file is present, it is automatically used as the favicon of the application.