diff --git a/editor/post.go b/editor/post.go index 936848ab..748a24f9 100644 --- a/editor/post.go +++ b/editor/post.go @@ -52,7 +52,7 @@ func POST(w http.ResponseWriter, r *http.Request, c *config.Config, filename str file = f default: - return http.StatusNotFound, nil + return http.StatusBadRequest, nil } // Write the file