all repos — flounder @ ce6666f9f02374b70bf44526674173ddd8bb5b46

A small site builder for the Gemini protocol

Fix last-modified bug
alex wennerberg alex@alexwennerberg.com
Mon, 15 Feb 2021 21:07:09 -0800
commit

ce6666f9f02374b70bf44526674173ddd8bb5b46

parent

376765b001b33cc8e3c7e40987a511cd9d2e0f65

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M http.gohttp.go

@@ -561,6 +561,7 @@ isDir = stat.IsDir()

} if strings.HasSuffix(p, "index.gmi") { http.Redirect(w, r, path.Dir(p), http.StatusMovedPermanently) + return } if strings.HasPrefix(p, "/"+HiddenFolder) {