This commit is contained in:
2026-11-13 21:03:32 -05:00
parent 16642c53f3
commit 91667e3a10
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -252,7 +252,6 @@ func uploadHandler(db *gorm.DB, cfg Config, templates *template.Template) http.H
switch returnType {
// html & maybe xml? cant think of other return types
case "html":
log.Println(upload)
w.Header().Set("Content-Type", "text/html; charset=utf-8")
if err := templates.ExecuteTemplate(w, "upload.html", response); err != nil {
log.Println("render upload page:", err)