* client: replace favicon.ico with favicon.png

This commit is contained in:
Ildar Kamalov
2019-05-31 16:36:48 +03:00
parent 147344afa3
commit df9864ec00
6 changed files with 4 additions and 4 deletions

View File

@@ -143,7 +143,7 @@ func postInstall(handler func(http.ResponseWriter, *http.Request)) func(http.Res
return func(w http.ResponseWriter, r *http.Request) {
if config.firstRun &&
!strings.HasPrefix(r.URL.Path, "/install.") &&
r.URL.Path != "/favicon.ico" {
r.URL.Path != "/favicon.png" {
http.Redirect(w, r, "/install.html", http.StatusSeeOther) // should not be cacheable
return
}