mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 05:26:09 +05:00
101 lines
2.4 KiB
Go
101 lines
2.4 KiB
Go
package template
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func RouteWebPages(route *gin.RouterGroup) {
|
|
route.GET("/", func(c *gin.Context) {
|
|
c.Data(200, "text/html; charset=utf-8", Indexhtml)
|
|
})
|
|
|
|
route.GET("/index.html", func(c *gin.Context) {
|
|
c.Data(200, "text/html; charset=utf-8", Indexhtml)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/2.e12df9f6.chunk.js.LICENSE.txt", func(c *gin.Context) {
|
|
c.Data(200, "text/plain; charset=utf-8", Staticjs2e12df9f6chunkjsLICENSEtxt)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/runtime-main.8bda5920.js", func(c *gin.Context) {
|
|
c.Data(200, "application/javascript", Staticjsruntimemain8bda5920js)
|
|
})
|
|
|
|
|
|
route.GET("/android-chrome-512x512.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Androidchrome512x512png)
|
|
})
|
|
|
|
|
|
route.GET("/browserconfig.xml", func(c *gin.Context) {
|
|
c.Data(200, "application/xml", Browserconfigxml)
|
|
})
|
|
|
|
|
|
route.GET("/site.webmanifest", func(c *gin.Context) {
|
|
c.Data(200, "application/manifest+json", Sitewebmanifest)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/2.e12df9f6.chunk.js", func(c *gin.Context) {
|
|
c.Data(200, "application/javascript", Staticjs2e12df9f6chunkjs)
|
|
})
|
|
|
|
|
|
route.GET("/favicon-32x32.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Favicon32x32png)
|
|
})
|
|
|
|
|
|
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Mstile150x150png)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/main.e6ffbb4b.chunk.js", func(c *gin.Context) {
|
|
c.Data(200, "application/javascript", Staticjsmaine6ffbb4bchunkjs)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/runtime-main.8bda5920.js.map", func(c *gin.Context) {
|
|
c.Data(200, "application/json", Staticjsruntimemain8bda5920jsmap)
|
|
})
|
|
|
|
|
|
route.GET("/android-chrome-192x192.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Androidchrome192x192png)
|
|
})
|
|
|
|
|
|
route.GET("/apple-touch-icon.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Appletouchiconpng)
|
|
})
|
|
|
|
|
|
route.GET("/asset-manifest.json", func(c *gin.Context) {
|
|
c.Data(200, "application/json", Assetmanifestjson)
|
|
})
|
|
|
|
|
|
route.GET("/favicon-16x16.png", func(c *gin.Context) {
|
|
c.Data(200, "image/png", Favicon16x16png)
|
|
})
|
|
|
|
|
|
route.GET("/favicon.ico", func(c *gin.Context) {
|
|
c.Data(200, "image/vnd.microsoft.icon", Faviconico)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/2.e12df9f6.chunk.js.map", func(c *gin.Context) {
|
|
c.Data(200, "application/json", Staticjs2e12df9f6chunkjsmap)
|
|
})
|
|
|
|
|
|
route.GET("/static/js/main.e6ffbb4b.chunk.js.map", func(c *gin.Context) {
|
|
c.Data(200, "application/json", Staticjsmaine6ffbb4bchunkjsmap)
|
|
})
|
|
|
|
} |