flounder

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

commit 16654ebad750d1209417c88f7208ffe8300a3a79
parent 2e6bbef6cb2a1fb0760b8b542f43d0b95ebd4cfd
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 24 Oct 2021 18:06:44 -0700

Remove updated string

Diffstat:
Mfinger.go | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/finger.go b/finger.go @@ -23,7 +23,7 @@ func runFingerServer() { w.Write([]byte("Not found\n")) return } - i, err := os.Stat(fullPath) + // i, err := os.Stat(fullPath) if err != nil { w.Write([]byte("Error\n")) return @@ -33,9 +33,9 @@ func runFingerServer() { w.Write([]byte("Error\n")) return } - updatedString := i.ModTime().Format("2006-01") - w.Write([]byte("\n---\nUpdated: ")) - w.Write([]byte(updatedString)) + // updatedString := i.ModTime().Format("2006-01") + // w.Write([]byte("\n---\nUpdated: ")) + // w.Write([]byte(updatedString)) }), Addr: ":7979", ReadTimeout: 5 * time.Minute,