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