mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
update web
This commit is contained in:
@@ -14,6 +14,21 @@ func RouteWebPages(route *gin.RouterGroup) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
||||||
|
c.Data(200, "image/png", Mstile150x150png)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
route.GET("/static/js/2.e12df9f6.chunk.js.map", func(c *gin.Context) {
|
||||||
|
c.Data(200, "application/json", Staticjs2e12df9f6chunkjsmap)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
route.GET("/android-chrome-192x192.png", func(c *gin.Context) {
|
||||||
|
c.Data(200, "image/png", Androidchrome192x192png)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
route.GET("/static/js/2.e12df9f6.chunk.js.LICENSE.txt", func(c *gin.Context) {
|
route.GET("/static/js/2.e12df9f6.chunk.js.LICENSE.txt", func(c *gin.Context) {
|
||||||
c.Data(200, "text/plain; charset=utf-8", Staticjs2e12df9f6chunkjsLICENSEtxt)
|
c.Data(200, "text/plain; charset=utf-8", Staticjs2e12df9f6chunkjsLICENSEtxt)
|
||||||
})
|
})
|
||||||
@@ -24,48 +39,13 @@ func RouteWebPages(route *gin.RouterGroup) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
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) {
|
route.GET("/static/js/runtime-main.8bda5920.js.map", func(c *gin.Context) {
|
||||||
c.Data(200, "application/json", Staticjsruntimemain8bda5920jsmap)
|
c.Data(200, "application/json", Staticjsruntimemain8bda5920jsmap)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
route.GET("/android-chrome-192x192.png", func(c *gin.Context) {
|
route.GET("/browserconfig.xml", func(c *gin.Context) {
|
||||||
c.Data(200, "image/png", Androidchrome192x192png)
|
c.Data(200, "application/xml", Browserconfigxml)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@@ -89,8 +69,23 @@ func RouteWebPages(route *gin.RouterGroup) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
route.GET("/static/js/2.e12df9f6.chunk.js.map", func(c *gin.Context) {
|
route.GET("/static/js/main.e6ffbb4b.chunk.js", func(c *gin.Context) {
|
||||||
c.Data(200, "application/json", Staticjs2e12df9f6chunkjsmap)
|
c.Data(200, "application/javascript", Staticjsmaine6ffbb4bchunkjs)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
route.GET("/android-chrome-512x512.png", func(c *gin.Context) {
|
||||||
|
c.Data(200, "image/png", Androidchrome512x512png)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
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)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@@ -98,4 +93,9 @@ func RouteWebPages(route *gin.RouterGroup) {
|
|||||||
c.Data(200, "application/json", Staticjsmaine6ffbb4bchunkjsmap)
|
c.Data(200, "application/json", Staticjsmaine6ffbb4bchunkjsmap)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
route.GET("/favicon-32x32.png", func(c *gin.Context) {
|
||||||
|
c.Data(200, "image/png", Favicon32x32png)
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user