register domains from cache not ideal
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 18:15:18 -0800
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
gemini.go
→
gemini.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 {