mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
DIsable logger middleware
This commit is contained in:
parent
7b0bec1026
commit
21ab55ff05
1 changed files with 3 additions and 1 deletions
4
main.go
4
main.go
|
@ -44,7 +44,9 @@ func main() {
|
|||
|
||||
go chat.BeginTwitchChatConnection()
|
||||
|
||||
router := gin.Default()
|
||||
router := gin.New()
|
||||
router.Use(gin.Recovery())
|
||||
|
||||
router.Use(ErrorHandler)
|
||||
routes.SetRoutes(router)
|
||||
router.NoRoute(notFoundHandler)
|
||||
|
|
Loading…
Reference in a new issue