Skip to content

Commit

Permalink
http: Don't use default gin Engine
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
zhaojh329 committed Mar 16, 2020
1 parent c489081 commit d38377c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func httpStart(br *Broker, cfg *RttysConfig) {

gin.SetMode(gin.ReleaseMode)

r := gin.Default()
r := gin.New()

authorized := r.Group("/", func(c *gin.Context) {
cookie, err := c.Cookie("sid")
Expand Down

0 comments on commit d38377c

Please sign in to comment.