Skip to content

Commit

Permalink
use gin default
Browse files Browse the repository at this point in the history
  • Loading branch information
billiford committed Sep 7, 2020
1 parent 55dc4e8 commit d95d32e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/arcade/arcade.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

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

func init() {
Expand All @@ -21,7 +21,6 @@ func init() {

gin.ForceConsoleColor()

r.Use(gin.Recovery())
r.Use(middleware.NewApiKeyAuth(apiKey))

r.GET("/tokens", http.GetToken)
Expand Down

0 comments on commit d95d32e

Please sign in to comment.