Remove default favicon and support for serving from classpath root

Closes gh-17925
This commit is contained in:
Andy Wilkinson
2019-08-22 13:53:13 +01:00
parent e03f822c6d
commit 05e089601e
5 changed files with 16 additions and 55 deletions

View File

@@ -2508,9 +2508,9 @@ welcome page of the application.
[[boot-features-spring-mvc-favicon]]
==== Custom 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 a file is present, it is automatically
used as the favicon of the application.
As with other static resources, Spring Boot looks for a `favicon.ico` in the configured
static content locations. If such a file is present, it is automatically used as the
favicon of the application.
[[boot-features-spring-mvc-pathmatch]]