-
Notifications
You must be signed in to change notification settings - Fork 21
Custom Favicon
jiwenxing edited this page Jul 26, 2017
·
2 revisions
将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.
好记性不如烂笔头
- Home
- Why Spring Boot
- Getting Started
- Using Spring Boot
- Customizing the Banner
- Spring Boot Log
- Bean Configuration by Properties Files
- Different Environment Using Different Profile
- Web Developing
- Using Database
- Using RestTemplate
- JavaMailSender
- Cross-Origin Resource Sharing (CORS)
- Schedule Task
- Spring Events
- Spring @Conditional Annotation