From 23a02b95d93d9f2c6c73e97e837fb6fbac4c34f8 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 6 Jun 2023 23:23:28 +0200 Subject: [PATCH] Use RunTLS() to serve TLS. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index dd46b00..fa4d47e 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func main() { gin.SetMode(gin.ReleaseMode) log.Println("Starting in release mode") log.Println("Starting service with TLS") - log.Fatal(router.Run("chess.sw-gross.de:9999")) + log.Fatal(router.RunTLS("chess.sw-gross.de:9999", cert_file, key_file)) } }