flounder

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

commit af0d40d544552622a2154d707e1c67e946812766
parent 0a74125f126b64d045cf34c24463994dbbb4de94
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  9 Jan 2021 18:15:18 -0800

register domains from cache

not ideal

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

diff --git a/gemini.go b/gemini.go @@ -151,6 +151,9 @@ func runGeminiServer() { wildcardMux.HandleFunc("/", gmiPage) server.Register(hostname, &mux) server.Register("*."+hostname, &wildcardMux) + for k, _ := range domains { // TODO fix + server.Register(k, &mux) + } err = server.ListenAndServe() if err != nil {