flounder

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

commit e8808331dd91745dcbae79724164de0d04bd18a3
parent 9bd26d43ac5ef574073bcb5a730ca2a00527271c
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat, 31 Oct 2020 09:12:41 -0700

fix expiration for gemini cert

Diffstat:
Mgemini.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gemini.go b/gemini.go @@ -59,7 +59,7 @@ func runGeminiServer() { log.Println("Generating certificate for", hostname) cert, err := gmi.CreateCertificate(gmi.CertificateOptions{ DNSNames: []string{hostname}, - Duration: time.Minute, // for testing purposes + Duration: time.Minute * 43200, // one month }) if err == nil { // Write the new certificate to disk