mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add log
This commit is contained in:
@@ -22,12 +22,11 @@ func Start(port string) {
|
||||
waitChan <- err
|
||||
return
|
||||
}
|
||||
|
||||
route := gin.New()
|
||||
route.Use(gin.Recovery(), cors.Default())
|
||||
api.SetupRoute(route)
|
||||
pages.SetupRoute(route)
|
||||
|
||||
log.TLogln("Start web", port)
|
||||
waitChan <- route.Run(":" + port)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user