diff --git a/client.go b/client.go index f7a4dd6..7b8ed26 100644 --- a/client.go +++ b/client.go @@ -168,7 +168,8 @@ func (cli *Client) Connect() { } cli.port = fmt.Sprintf("%d", listener.Addr().(*net.TCPAddr).Port) - router := gin.Default() + router := gin.New() + router.Use(gin.Recovery()) gin.SetMode(gin.ReleaseMode) router.POST("/:label", func(c *gin.Context) {