aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorkat <00-kat@proton.me>2026-05-15 19:48:10 +1000
committerkat <00-kat@proton.me>2026-05-17 19:47:42 +1000
commit6f50811dc9637f0ed4f21dad1cab3d8e0f5d0a64 (patch)
tree7fa8a46cc90f39e68ccaeffa49e919a9311ad42e /cmd
parent6b87bac401582230b503b6a95560ea31bd8b8d60 (diff)
cmd/mbf: bring back pkgserver's favicon!
It existed in mae's #33, but ozy was not satisfied with including a binary file identical to https://hakurei.app's favicon, and hence removed it. However, it's possible to explicitly specify the favicon with a link tag [1]; provided a content security policy that isn't too strong, this should work fine. [1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel#icon
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/internal/pkgserver/ui/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mbf/internal/pkgserver/ui/index.html b/cmd/mbf/internal/pkgserver/ui/index.html
index d2d71cbd..7bd52c78 100644
--- a/cmd/mbf/internal/pkgserver/ui/index.html
+++ b/cmd/mbf/internal/pkgserver/ui/index.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
+ <link rel="icon" href="https://hakurei.app/favicon.ico"/>
<title>Hakurei PkgServer</title>
<script src="index.js"></script>
</head>
@@ -54,4 +55,4 @@
</footer>
<script>main();</script>
</body>
-</html> \ No newline at end of file
+</html>