parent
479caef353
commit
cbd287e20e
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue