Small changes

This commit is contained in:
Caleb Gardner
2023-01-13 18:26:09 -06:00
parent d8099c4410
commit 3e863f360b
3 changed files with 1 additions and 13 deletions
-7
View File
@@ -41,13 +41,6 @@ func webserver() {
return
}
tlsConf.Certificates = append(tlsConf.Certificates, cert)
cert, err = tls.LoadX509KeyPair(keyPath+"/foundrycert.pem", keyPath+"/foundrykey.pem")
if err != nil {
log.Println("Error while serving website:", err)
quitChan <- "web err"
return
}
tlsConf.Certificates = append(tlsConf.Certificates, cert)
serve := http.Server{
Addr: ":443",
TLSConfig: tlsConf,