flounder

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

commit 2ed447ea6a2a629e27d47f88c3770886ba75e962
parent dec7093aec691b170f684a7f10e11fd590434f19
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  5 Dec 2020 16:13:29 -0800

remove double write bug

Diffstat:
Mhttp.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/http.go b/http.go @@ -452,6 +452,7 @@ func userFile(w http.ResponseWriter, r *http.Request) { } if r.URL.Path == "/style.css" { http.ServeFile(w, r, path.Join(c.TemplatesDirectory, "static/style.css")) + return } _, err := os.Stat(fileName)