ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
fix(favicon): make the per-install tint actually cover the fingerprint URLs
Juan Denis8ee33ef2c6d9
diff --git a/frontend/index.html b/frontend/index.htmlindex ee285aae..69b8a1d3 100644--- a/frontend/index.html+++ b/frontend/index.html@@ -3,10 +3,9 @@<head><meta charset="UTF-8" />+ <!-- Single SVG favicon so the per-install tint (install.sh randomize_favicon)+ is the only mark served; no fixed raster icon to fingerprint-cluster on. --><link rel="icon" type="image/svg+xml" href="/favicon.svg" />- <link rel="icon" type="image/x-icon" href="/favicon.ico" />- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /><meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /><meta name="description" content="Control Panel" /><title>Control Panel</title>diff --git a/frontend/public/favicon-16x16.png b/frontend/public/favicon-16x16.pngdeleted file mode 100644index 3a8b61e8..00000000Binary files a/frontend/public/favicon-16x16.png and /dev/null differdiff --git a/frontend/public/favicon-32x32.png b/frontend/public/favicon-32x32.pngdeleted file mode 100644index 07bfa77d..00000000Binary files a/frontend/public/favicon-32x32.png and /dev/null differdiff --git a/install.sh b/install.shindex 78b54c35..41f5b788 100644--- a/install.sh+++ b/install.sh@@ -1129,6 +1129,11 @@ randomize_favicon() {if sed -i -E "s|(<rect width=\"32\" height=\"32\" rx=\"7\" fill=\")[^\"]+(\")|\1hsl(${h}, ${s}%, ${l}%)\2|" "$fav" 2>/dev/null; thengood "Favicon tint set to hsl(${h}, ${s}%, ${l}%)"fi+ # Also serve the tinted mark at /favicon.ico so a blind favicon-hash fetch+ # there varies per install too, instead of a fixed cross-install icon. It's+ # SVG bytes under an .ico name — browsers use the linked SVG anyway; this is+ # only about what a scanner hashes at that URL.+ cp "$fav" "$INSTALL_DIR/frontend/dist/favicon.ico" 2>/dev/null || true}build_frontend() {