mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove maskable pwa icons
This commit is contained in:
@@ -112,12 +112,6 @@ var Indexhtml []byte
|
|||||||
//go:embed pages/logo.png
|
//go:embed pages/logo.png
|
||||||
var Logopng []byte
|
var Logopng []byte
|
||||||
|
|
||||||
//go:embed pages/manifest-icon-192.maskable.png
|
|
||||||
var Manifesticon192maskablepng []byte
|
|
||||||
|
|
||||||
//go:embed pages/manifest-icon-512.maskable.png
|
|
||||||
var Manifesticon512maskablepng []byte
|
|
||||||
|
|
||||||
//go:embed pages/mstile-150x150.png
|
//go:embed pages/mstile-150x150.png
|
||||||
var Mstile150x150png []byte
|
var Mstile150x150png []byte
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB |
@@ -4,27 +4,15 @@
|
|||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "icon.png",
|
"src": "icon.png",
|
||||||
"sizes": "180x180",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "manifest-icon-192.maskable.png",
|
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "logo.png",
|
"src": "logo.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any"
|
"purpose": "any"
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "manifest-icon-512.maskable.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "maskable"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"theme_color": "#ffffff",
|
"theme_color": "#ffffff",
|
||||||
|
|||||||
@@ -153,14 +153,6 @@ func RouteWebPages(route *gin.RouterGroup) {
|
|||||||
c.Data(200, "image/png", Logopng)
|
c.Data(200, "image/png", Logopng)
|
||||||
})
|
})
|
||||||
|
|
||||||
route.GET("/manifest-icon-192.maskable.png", func(c *gin.Context) {
|
|
||||||
c.Data(200, "image/png", Manifesticon192maskablepng)
|
|
||||||
})
|
|
||||||
|
|
||||||
route.GET("/manifest-icon-512.maskable.png", func(c *gin.Context) {
|
|
||||||
c.Data(200, "image/png", Manifesticon512maskablepng)
|
|
||||||
})
|
|
||||||
|
|
||||||
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
route.GET("/mstile-150x150.png", func(c *gin.Context) {
|
||||||
c.Data(200, "image/png", Mstile150x150png)
|
c.Data(200, "image/png", Mstile150x150png)
|
||||||
})
|
})
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB |
@@ -4,27 +4,15 @@
|
|||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "icon.png",
|
"src": "icon.png",
|
||||||
"sizes": "180x180",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "manifest-icon-192.maskable.png",
|
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "logo.png",
|
"src": "logo.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "any"
|
"purpose": "any"
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "manifest-icon-512.maskable.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "maskable"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"theme_color": "#ffffff",
|
"theme_color": "#ffffff",
|
||||||
|
|||||||
Reference in New Issue
Block a user