diff --git a/main.go b/main.go index 6e51f73..f42a619 100755 --- a/main.go +++ b/main.go @@ -145,7 +145,7 @@ func withDel(foo http.HandlerFunc) http.HandlerFunc { if len(match) > 0 { match = bytes.Split(match, []byte(`href="`))[1] match = match[:len(match)-1] - b[i] = []byte(fmt.Sprintf(` %s`, match, ENDPOINT_DELETE, b[i])) + b[i] = []byte(fmt.Sprintf(` %s`, match, ENDPOINT_DELETE, match, b[i])) } } buff.Write(b[i]) diff --git a/public/DIR2/d.md b/public/DIR2/d.md deleted file mode 100644 index e69de29..0000000 diff --git a/public/_index.html b/public/_index.html deleted file mode 100755 index 45b983b..0000000 --- a/public/_index.html +++ /dev/null @@ -1 +0,0 @@ -hi diff --git a/public/a.md b/public/a.md deleted file mode 100644 index e69de29..0000000