Remove autotls.

This commit is contained in:
Marco 2023-06-06 23:15:43 +02:00
parent 5f8342b4c5
commit 41c384c7aa

View File

@ -13,7 +13,6 @@ import (
"os"
"sync"
"github.com/gin-gonic/autotls"
"github.com/gin-gonic/gin"
"github.com/google/uuid"
"nhooyr.io/websocket"
@ -41,7 +40,7 @@ func main() {
gin.SetMode(gin.ReleaseMode)
log.Println("Starting in release mode")
log.Println("Starting service with TLS")
log.Fatal(autotls.Run(router, "chess.sw-gross.de:9000"))
log.Fatal(router.Run("chess.sw-gross.de:9999"))
}
}