fix
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 18:21:44 -0800
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
gemini.go
→
gemini.go
@@ -82,9 +82,7 @@
func gmiPage(w *gmi.ResponseWriter, r *gmi.Request) { logGemini(r) // TODO move into wrapper var userName string - host, _, _ := net.SplitHostPort(r.Host) - custom := domains[host] - log.Println(host, domains, custom) + custom := domains[r.URL.Host] if custom != "" { userName = custom } else {