flounder

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

commit 93954344eeec0b45c1912ccc8b5ddcfab4aa0a34
parent 3628ff50dc1ea6fc7d858b2e20b69a811613ff26
Author: alex wennerberg <awennerb@twitch.tv>
Date:   Tue,  9 Nov 2021 23:08:18 -0500

Actually load cert store

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

diff --git a/gemini.go b/gemini.go @@ -135,6 +135,10 @@ func runGeminiServer() { hostname := strings.SplitN(c.Host, ":", 2)[0] // is this necc? certificates := &certificate.Store{} + err = certificates.Load(c.GeminiCertStore) + if err != nil { + log.Fatal(err) + } certificates.Register("*." + hostname) certificates.Register(hostname) for k, _ := range domains {