remove maskable pwa icons

This commit is contained in:
nikk gitanes
2023-02-21 21:59:14 +03:00
parent d7f9665ba0
commit 07231656d6
8 changed files with 2 additions and 40 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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)
})