flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 560f8fdad768b809864dff6fce0faca7a8583fe5
parent 4bd0c00ffa82f67b619dd88c894107c0cfbd5d20
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 18 Nov 2020 19:44:25 -0800

build err

Diffstat:
Mhttp.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/http.go b/http.go @@ -142,7 +142,7 @@ func editFileHandler(w http.ResponseWriter, r *http.Request) { return } newName := filepath.Clean(r.Form.Get("rename")) - err := checkIfValidFile(newName, fileBytes) + err = checkIfValidFile(newName, fileBytes) if err != nil { log.Println(err) renderError(w, err.Error(), 400)