0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-01-03 03:10:05 -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() go chat.BeginTwitchChatConnection()
router := gin.Default() router := gin.New()
router.Use(gin.Recovery())
router.Use(ErrorHandler) router.Use(ErrorHandler)
routes.SetRoutes(router) routes.SetRoutes(router)
router.NoRoute(notFoundHandler) router.NoRoute(notFoundHandler)