all repos — flounder @ af0d40d544552622a2154d707e1c67e946812766

A small site builder for the Gemini protocol

register domains from cache

not ideal
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 18:15:18 -0800
commit

af0d40d544552622a2154d707e1c67e946812766

parent

0a74125f126b64d045cf34c24463994dbbb4de94

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M gemini.gogemini.go

@@ -151,6 +151,9 @@ var wildcardMux gmi.ServeMux

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 {