+5
bskyweb/cmd/bskyweb/server.go
+5
bskyweb/cmd/bskyweb/server.go
···
223
223
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
224
224
}
225
225
226
+
// pwa files
227
+
e.GET("/manifest.json", echo.WrapHandler(staticHandler))
228
+
e.GET("/pwa-512.png", echo.WrapHandler(staticHandler))
229
+
e.GET("/pwa-192.png", echo.WrapHandler(staticHandler))
230
+
226
231
e.GET("/iframe/youtube.html", echo.WrapHandler(staticHandler))
227
232
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)), func(next echo.HandlerFunc) echo.HandlerFunc {
228
233
return func(c echo.Context) error {
+2
bskyweb/templates/base.html
+2
bskyweb/templates/base.html
web/manifest.json
bskyweb/static/manifest.json
web/manifest.json
bskyweb/static/manifest.json
web/pwa-192.png
bskyweb/static/pwa-192.png
web/pwa-192.png
bskyweb/static/pwa-192.png
web/pwa-512.png
bskyweb/static/pwa-512.png
web/pwa-512.png
bskyweb/static/pwa-512.png