tangled
alpha
login
or
join now
back
round
0
view raw
feat: mutuals pill/button from catsky.social
#3
closed
opened by
vielle.dev
1 month ago
targeting
main
copy pasted from
https://github.com/NekoDrone/catsky-social/pull/73
full credit to isabel
options
unified
split
Changed files
+7
bskyweb
cmd
bskyweb
server.go
static
manifest.json
pwa-192.png
pwa-512.png
templates
base.html
+5
bskyweb/cmd/bskyweb/server.go
···
223
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
224
}
225
0
0
0
0
0
226
e.GET("/iframe/youtube.html", echo.WrapHandler(staticHandler))
227
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)), func(next echo.HandlerFunc) echo.HandlerFunc {
228
return func(c echo.Context) error {
···
223
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
224
}
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
+
231
e.GET("/iframe/youtube.html", echo.WrapHandler(staticHandler))
232
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)), func(next echo.HandlerFunc) echo.HandlerFunc {
233
return func(c echo.Context) error {
web/manifest.json
bskyweb/static/manifest.json
web/pwa-192.png
bskyweb/static/pwa-192.png
web/pwa-512.png
bskyweb/static/pwa-512.png
+2
bskyweb/templates/base.html
···
15
16
<link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
17
0
0
18
<style>
19
/**
20
* Minimum styles required to render splash.
···
15
16
<link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
17
18
+
<link rel="manifest" href="/manifest.json" />
19
+
20
<style>
21
/**
22
* Minimum styles required to render splash.