Fix some cache errors with editor

This commit is contained in:
Caleb Gardner
2024-11-14 11:37:23 -06:00
parent 7c7f3bd131
commit b37fb8a7cf
3 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func latestBlogsHandle(w http.ResponseWriter, r *http.Request) {
}
func blogHandle(w http.ResponseWriter, r *http.Request, blog string) {
bl, err := blogApp.Blog(r.Context(), blog)
bl, err := blogApp.Blog(r.Context(), blog, true)
if err != nil {
if err == backend.ErrNotFound {
w.WriteHeader(404)