This PR restores the favicon documentation mistakenly removed in 5fceb9d.
The 5fceb9d commit did not change the default behavior at all, just opened the option to define non-default favicon.ico files, such as "/favicon.ico", "/favicon.png" and "/icons/icon-48x48.png".
What it did change is overriding the lookup for the favicon.ico from anywhere in the resources (/**/) to a sub directory (/*/). Thus I changed the doc wording a bit from
Spring Boot looks for a
favicon.ico
to
Spring Boot checks for a
favicon.ico
This PR closes gh-31026
Comment From: ittays
Thanks @philwebb for handling this.
As it's my first commit here, please let me know of I took the correct target branch (main), and if any further work is needed from my side to conclude this PR.
Comment From: snicoll
@ittays thank you for making your first contribution to Spring Boot.