From 26ac9e422488998290ddfe4db1b0ceaabca0441c Mon Sep 17 00:00:00 2001 From: ArtemBaskal Date: Thu, 14 May 2020 12:06:22 +0300 Subject: [PATCH] Add icons to server --- home/auth.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/auth.go b/home/auth.go index c72ca546..5e6c59f6 100644 --- a/home/auth.go +++ b/home/auth.go @@ -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