flounder

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

commit 2e6bbef6cb2a1fb0760b8b542f43d0b95ebd4cfd
parent 256d36d69c410a8bd7646e184a793c440b50e7e5
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 24 Oct 2021 15:38:43 -0700

stop using finger

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

diff --git a/http.go b/http.go @@ -675,6 +675,7 @@ func resetPasswordHandler(w http.ResponseWriter, r *http.Request) { } } +// unused atm func proxyFinger(w http.ResponseWriter, r *http.Request) { // Create connection var output string @@ -813,7 +814,6 @@ func runHTTPServer() { // handle user files based on subdomain or custom domains // also routes to proxy serveMux.HandleFunc("proxy."+hostname+"/", proxyGemini) - serveMux.HandleFunc("finger."+hostname+"/", proxyFinger) serveMux.HandleFunc("/", userFile) srv := &http.Server{ ReadTimeout: 5 * time.Second,