mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove maskable pwa icons
This commit is contained in:
@@ -112,12 +112,6 @@ var Indexhtml []byte
|
||||
//go:embed pages/logo.png
|
||||
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
|
||||
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": [
|
||||
{
|
||||
"src": "icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "manifest-icon-192.maskable.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "logo.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "manifest-icon-512.maskable.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
|
||||
@@ -153,14 +153,6 @@ func RouteWebPages(route *gin.RouterGroup) {
|
||||
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) {
|
||||
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": [
|
||||
{
|
||||
"src": "icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "manifest-icon-192.maskable.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "logo.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "manifest-icon-512.maskable.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
|
||||
Reference in New Issue
Block a user