Add icons to server

This commit is contained in:
ArtemBaskal 2020-05-14 12:06:22 +03:00
parent 8aad02dbf2
commit 26ac9e4224

View file

@ -381,6 +381,8 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re
}
} else if r.URL.Path == "/favicon.png" ||
r.URL.Path == "/safari-pinned-tab.svg" ||
strings.HasPrefix(r.URL.Path, "/apple-touch-icon") ||
strings.HasPrefix(r.URL.Path, "/login.") ||
strings.HasPrefix(r.URL.Path, "/__locales/") {
// process as usual