Spring Boot replaces the logo icon

When using Spring Boot, a green leaf icon is displayed on the browser.

At this point, what should I do if I need to replace it with the icon of my own website?

 

solution:

In the static directory, create a new images folder, and in the images folder, put the icon of your own website, named favicon.ico. (Of course, if it is a jsp page, it is also feasible to put an icon in the webapp directory) Then, in each page, refer to the code:

<link rel="icon" type="image/x-icon" href="/images/favicon.ico">

 

http://blog.csdn.net/wo541075754/article/details/52540129

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326313782&siteId=291194637