forgot the word but pages

This commit is contained in:
2026-11-21 15:33:39 -05:00
parent 2f27f8bd4f
commit 741b91b637
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ func uploadHandler(db *gorm.DB, cfg Config, pages *Pages) http.HandlerFunc {
switch returnType {
// html & maybe xml? cant think of other return types
case "html":
render(pages, w, "upload.html", response)
pages.render(w, "upload.html", response)
case "redirect":
http.Redirect(w, r, "/"+id, http.StatusSeeOther)
default: