Fix go lint warning

This commit is contained in:
ArtemBaskal 2020-05-14 15:03:00 +03:00
parent 5f13d4ab4a
commit 11d65330a0
1 changed files with 1 additions and 1 deletions

View File

@ -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