master v1.13
Bel LaPointe 2021-02-25 19:28:58 -06:00
parent 479caef353
commit cbd287e20e
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"fmt"
"local/notes-server/config"
"local/notes-server/filetree"
"log"
"net/http"
"path"
"regexp"
@ -104,7 +103,6 @@ func (s *Server) htmlAttachments(w http.ResponseWriter, urlPath string) {
lines[i] = strings.ReplaceAll(lines[i], `href="/notes`, `href="/raw`)
}
files = strings.Join(lines, "\n")
log.Println(files)
fmt.Fprintf(w, `<div style='display:inline-block' class="attachments">
<details>
<summary style="display: flex">