mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove qiwi from donate links and fix ts icon
also we have a reason
This commit is contained in:
@@ -15,18 +15,20 @@ func SetupRoute(route gin.IRouter) {
|
||||
authorized := route.Group("/", auth.CheckAuth())
|
||||
|
||||
authorized.GET("/shutdown", shutdown)
|
||||
authorized.GET("/shutdown/*reason", shutdown)
|
||||
|
||||
authorized.POST("/settings", settings)
|
||||
|
||||
authorized.POST("/torrents", torrents)
|
||||
|
||||
authorized.POST("/torrent/upload", torrentUpload)
|
||||
|
||||
authorized.POST("/cache", cache)
|
||||
|
||||
route.HEAD("/stream", stream)
|
||||
route.HEAD("/stream/*fname", stream)
|
||||
|
||||
route.GET("/stream", stream)
|
||||
|
||||
route.HEAD("/stream/*fname", stream)
|
||||
route.GET("/stream/*fname", stream)
|
||||
|
||||
route.HEAD("/play/:hash/:id", play)
|
||||
@@ -35,8 +37,9 @@ func SetupRoute(route gin.IRouter) {
|
||||
authorized.POST("/viewed", viewed)
|
||||
|
||||
authorized.GET("/playlistall/all.m3u", allPlayList)
|
||||
|
||||
route.GET("/playlist", playList)
|
||||
route.GET("/playlist/*fname", playList) // Is this endpoint still needed ? `fname` is never used in handler
|
||||
route.GET("/playlist/*fname", playList)
|
||||
|
||||
authorized.GET("/download/:size", download)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user