flounder

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

commit 6d376afc164fd144e7976f0e44ce8dfb4f64a5dd
parent c8e0ba1236a60ef06c4a4df4e5ddf269ee83d888
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 24 Oct 2021 18:08:59 -0700

oops

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

diff --git a/finger.go b/finger.go @@ -18,6 +18,7 @@ func runFingerServer() { Handler: finger.HandlerFunc(func(ctx context.Context, w io.Writer, q *finger.Query) { if q.Username == "" { w.Write([]byte("You've found the flounder finger server. Welcome.\n")) + return } userName := filepath.Clean(q.Username) fullPath := path.Join(c.FilesDirectory, userName, "finger")