Fix middleware for drafts

This commit is contained in:
Jan-Lukas Else 2021-01-15 22:05:01 +01:00
parent d1850300e5
commit e0ad125d93
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ func buildHandler() (http.Handler, error) {
}
for _, path := range dp {
if path != "" {
r.With(cacheMiddleware, minifier.Middleware, authMiddleware).Get(path, servePost)
r.With(middleware.NoCache, minifier.Middleware, authMiddleware).Get(path, servePost)
}
}