Browse Source

Small fix

master
Jan-Lukas Else 2 weeks ago
parent
commit
1718a70d8a
  1. 2
      http.go

2
http.go

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

Loading…
Cancel
Save