From 11d65330a093090e335cfa7ab1d048bd1647a2d4 Mon Sep 17 00:00:00 2001 From: ArtemBaskal Date: Thu, 14 May 2020 15:03:00 +0300 Subject: [PATCH] Fix go lint warning --- home/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/auth.go b/home/auth.go index 36aa53fe..82918f78 100644 --- a/home/auth.go +++ b/home/auth.go @@ -380,7 +380,7 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re } } - } else if strings.HasPrefix(r.URL.Path,"/assets/") || + } else if strings.HasPrefix(r.URL.Path, "/assets/") || strings.HasPrefix(r.URL.Path, "/login.") || strings.HasPrefix(r.URL.Path, "/__locales/") { // process as usual