This commit is contained in:
YouROK
2021-09-08 23:08:08 +03:00
parent fb60b02e84
commit 49caf0e42d
4 changed files with 23 additions and 10 deletions

10
server/web/msx/route.go Normal file
View File

@@ -0,0 +1,10 @@
package msx
import "github.com/gin-gonic/gin"
func SetupRoute(route *gin.RouterGroup) {
route.GET("/msx/start.json", msxStart)
route.GET("/msx/torrents", msxTorrents)
route.GET("/msx/playlist", msxPlaylist)
route.GET("/msx/playlist/*fname", msxPlaylist)
}