flounder

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

commit ce6666f9f02374b70bf44526674173ddd8bb5b46
parent 376765b001b33cc8e3c7e40987a511cd9d2e0f65
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 15 Feb 2021 21:07:09 -0800

Fix last-modified bug

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

diff --git a/http.go b/http.go @@ -561,6 +561,7 @@ func userFile(w http.ResponseWriter, r *http.Request) { } if strings.HasSuffix(p, "index.gmi") { http.Redirect(w, r, path.Dir(p), http.StatusMovedPermanently) + return } if strings.HasPrefix(p, "/"+HiddenFolder) {