0
Fork 0
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:
dragongoose 2023-05-31 19:31:25 -04:00
parent 7b0bec1026
commit 21ab55ff05
No known key found for this signature in database
GPG key ID: 50DB99B921579009

View file

@ -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)