no more todo

master v1.14
Bel LaPointe 2021-02-25 22:10:18 -06:00
parent baf739658e
commit 96cce88aed
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ func (s *Server) htmlAttachments(w http.ResponseWriter, urlPath string) {
dir := path.Dir(urlPath)
f := "." + path.Base(urlPath) + ".attachments"
_, files, _ := s.Notes.Dir(path.Join(dir, f))
// TODO replace <a with <a download UNLESS img, then... hrm
form := fmt.Sprintf(`
<form enctype="multipart/form-data" action="/attach/%s" method="post">
<input type="file" name="file" required/>