mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 05:26:09 +05:00
update web
This commit is contained in:
@@ -9,43 +9,8 @@ func RouteWebPages(route *gin.RouterGroup) {
|
||||
c.Data(200, "text/html; charset=utf-8", Indexhtml)
|
||||
})
|
||||
|
||||
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Mstile150x150png)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/2.937400ae.chunk.js", func(c *gin.Context) {
|
||||
c.Data(200, "application/javascript", Staticjs2937400aechunkjs)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/2.937400ae.chunk.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjs2937400aechunkjsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/runtime-main.33603a80.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjsruntimemain33603a80jsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/browserconfig.xml", func(c *gin.Context) {
|
||||
c.Data(200, "application/xml", Browserconfigxml)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/main.b6a30447.chunk.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjsmainb6a30447chunkjsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/index.html", func(c *gin.Context) {
|
||||
c.Data(200, "text/html; charset=utf-8", Indexhtml)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/apple-touch-icon.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Appletouchiconpng)
|
||||
route.GET("/site.webmanifest", func(c *gin.Context) {
|
||||
c.Data(200, "application/manifest+json", Sitewebmanifest)
|
||||
})
|
||||
|
||||
|
||||
@@ -54,8 +19,63 @@ func RouteWebPages(route *gin.RouterGroup) {
|
||||
})
|
||||
|
||||
|
||||
route.GET("/favicon-16x16.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Favicon16x16png)
|
||||
route.GET("/android-chrome-512x512.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Androidchrome512x512png)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/favicon.ico", func(c *gin.Context) {
|
||||
c.Data(200, "image/vnd.microsoft.icon", Faviconico)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/index.html", func(c *gin.Context) {
|
||||
c.Data(200, "text/html; charset=utf-8", Indexhtml)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Mstile150x150png)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/2.d5f08679.chunk.js", func(c *gin.Context) {
|
||||
c.Data(200, "text/javascript; charset=utf-8", Staticjs2d5f08679chunkjs)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/2.d5f08679.chunk.js.LICENSE.txt", func(c *gin.Context) {
|
||||
c.Data(200, "text/plain; charset=utf-8", Staticjs2d5f08679chunkjsLICENSEtxt)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/android-chrome-192x192.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Androidchrome192x192png)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/browserconfig.xml", func(c *gin.Context) {
|
||||
c.Data(200, "text/xml; charset=utf-8", Browserconfigxml)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/main.d1c06468.chunk.js", func(c *gin.Context) {
|
||||
c.Data(200, "text/javascript; charset=utf-8", Staticjsmaind1c06468chunkjs)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/runtime-main.33603a80.js", func(c *gin.Context) {
|
||||
c.Data(200, "text/javascript; charset=utf-8", Staticjsruntimemain33603a80js)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/runtime-main.33603a80.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjsruntimemain33603a80jsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/apple-touch-icon.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Appletouchiconpng)
|
||||
})
|
||||
|
||||
|
||||
@@ -64,38 +84,18 @@ func RouteWebPages(route *gin.RouterGroup) {
|
||||
})
|
||||
|
||||
|
||||
route.GET("/favicon.ico", func(c *gin.Context) {
|
||||
c.Data(200, "image/x-icon", Faviconico)
|
||||
route.GET("/static/js/2.d5f08679.chunk.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjs2d5f08679chunkjsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/site.webmanifest", func(c *gin.Context) {
|
||||
c.Data(200, "application/manifest+json", Sitewebmanifest)
|
||||
route.GET("/static/js/main.d1c06468.chunk.js.map", func(c *gin.Context) {
|
||||
c.Data(200, "application/json", Staticjsmaind1c06468chunkjsmap)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/2.937400ae.chunk.js.LICENSE.txt", func(c *gin.Context) {
|
||||
c.Data(200, "text/plain; charset=utf-8", Staticjs2937400aechunkjsLICENSEtxt)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/android-chrome-512x512.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Androidchrome512x512png)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/runtime-main.33603a80.js", func(c *gin.Context) {
|
||||
c.Data(200, "application/javascript", Staticjsruntimemain33603a80js)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/static/js/main.b6a30447.chunk.js", func(c *gin.Context) {
|
||||
c.Data(200, "application/javascript", Staticjsmainb6a30447chunkjs)
|
||||
})
|
||||
|
||||
|
||||
route.GET("/android-chrome-192x192.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Androidchrome192x192png)
|
||||
route.GET("/favicon-16x16.png", func(c *gin.Context) {
|
||||
c.Data(200, "image/png", Favicon16x16png)
|
||||
})
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user