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.

Copyright © jverson.com 2018 all right reserved,powered by GitbookFile Modify: 2019-03-03 22:26:44

results matching ""

    No results matching ""