Remove autotls.
This commit is contained in:
parent
5f8342b4c5
commit
41c384c7aa
3
main.go
3
main.go
@ -13,7 +13,6 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/gin-gonic/autotls"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"nhooyr.io/websocket"
|
"nhooyr.io/websocket"
|
||||||
@ -41,7 +40,7 @@ func main() {
|
|||||||
gin.SetMode(gin.ReleaseMode)
|
gin.SetMode(gin.ReleaseMode)
|
||||||
log.Println("Starting in release mode")
|
log.Println("Starting in release mode")
|
||||||
log.Println("Starting service with TLS")
|
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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user