todooo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user