Remove dbeug logs

master
Bel LaPointe 2020-08-07 13:08:42 -06:00
parent 43d44a4518
commit e6a126ea0b
2 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import (
"io"
"io/ioutil"
"local/notes-server/filetree"
"log"
"path"
"regexp"
"strings"
@ -63,7 +62,6 @@ func (n *Notes) commentFormer(urlPath string, md []byte) html.RenderNodeFunc {
}
return func(w io.Writer, node ast.Node, entering bool) (ast.WalkStatus, bool) {
if heading, ok := node.(*ast.Heading); ok && !entering {
log.Printf("%+v", heading)
nextHeader()
fmt.Fprintf(w, `
<form method="POST" action=%q class="comment">

View File

@ -3,7 +3,6 @@ package server
import (
"html"
"local/notes-server/filetree"
"log"
"net/http"
"path"
"strconv"
@ -11,7 +10,6 @@ import (
)
func (s *Server) comment(w http.ResponseWriter, r *http.Request) {
log.Println("COMMAND", r.Method, r.FormValue("lineno"), r.FormValue("content"))
if r.Method != "POST" {
http.NotFound(w, r)
return