summaryrefslogtreecommitdiff
path: root/system/tls/enable.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/tls/enable.go')
-rw-r--r--system/tls/enable.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/tls/enable.go b/system/tls/enable.go
index 04f032a..c6f65b3 100644
--- a/system/tls/enable.go
+++ b/system/tls/enable.go
@@ -65,7 +65,8 @@ func setup() {
}
-// Enable runs the setup for creating or locating certificates and starts the TLS server
+// Enable runs the setup for creating or locating production certificates and
+// starts the TLS server
func Enable() {
setup()
@@ -74,6 +75,5 @@ func Enable() {
TLSConfig: &tls.Config{GetCertificate: m.GetCertificate},
}
- go log.Fatalln(server.ListenAndServeTLS("", ""))
- fmt.Println("Server listening for HTTPS requests...")
+ log.Fatalln(server.ListenAndServeTLS("", ""))
}