perf(web): add favicon, webmanifest and browserconfig

This commit is contained in:
2025-01-07 13:27:14 +03:00
parent 14a7104c5f
commit ffc249a9f8
30 changed files with 77 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ func Serve(addr string) {
r.LoadHTMLGlob("templates/*.html")
r.Static("/favicon.ico", "./static/service/favicon.ico")
r.Static("/skazanull.webmanifest", "./static/service/skazanull.webmanifest")
r.Static("/browserconfig.xml", "./static/service/browserconfig.xml")
r.Static("/static", "./static")
r.GET("/", api.MiddlewareAuth, root)
r.GET("/quotes", api.MiddlewareAuth, middlewareAuth, quotes)