flounder

A simple gemini site builder
git clone git://git.alexwennerberg.com/flounder
Log | Files | Refs | README | LICENSE

commit 97723c769ee9c488b34521cd32e896db0ced2e09
parent 2fe17fe209271a1ce1c2ee45728c276fc5eef7ce
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 12 Sep 2022 19:46:10 -0700

remove lists thing

Diffstat:
Mgemini.go | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/gemini.go b/gemini.go @@ -97,13 +97,6 @@ func gmiPage(_ context.Context, w gmi.ResponseWriter, r *gmi.Request) { return } fullPath := path.Join(c.FilesDirectory, userName, fileName) - // hack - if c.Hack && userName == "lists" { - if fileName == "" { // mess - fileName = "/" - } - gmi.ServeFile(w, os.DirFS("/www/crabmail", fileName)) - } if fileName == "/gemlog" { // temp hack _, err := os.Stat(path.Join(fullPath, "index.gmi")) if err != nil {