flounder

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

commit b018dfaaadf20d89645330d7acaf094d60779f69
parent 904a619b566e69eac12b9d7e2822b24dc4f74263
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat, 21 Nov 2020 14:04:54 -0800

bug fix

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

diff --git a/gemini.go b/gemini.go @@ -43,7 +43,7 @@ func gmiPage(w *gmi.ResponseWriter, r *gmi.Request) { fileName := filepath.Clean(r.URL.Path) if fileName == "/" { fileName = "index.gmi" - } else if strings.HasPrefix(fileName, ".hidden") { + } else if strings.HasPrefix(fileName, "/.hidden") { w.WriteStatus(gmi.StatusNotFound) return }