Small fix

This commit is contained in:
Jan-Lukas Else 2021-11-22 17:23:39 +01:00
parent 61cc369518
commit 1718a70d8a
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (a *goBlog) buildRouter() (http.Handler, error) {
// Favicon
if !hasStaticPath("favicon.ico") {
r.With(cacheLoggedIn, a.cacheMiddleware).Get("/favicon.ico", a.serve404)
r.With(a.cacheMiddleware).Get("/favicon.ico", a.serve404)
}
r.NotFound(a.servePostsAliasesRedirects())