add site icon

This commit is contained in:
2026-05-21 15:15:09 +07:00
parent 587ad867e7
commit 53847c3a69
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<title>CLIProxyAPI Usage Dashboard</title> <title>CLIProxyAPI Usage Dashboard</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='0.9em' font-size='90'>📊</text></svg>">
<style> <style>
/* ── Theme tokens ─────────────────────────────────────────────────────── */ /* ── Theme tokens ─────────────────────────────────────────────────────── */
:root { :root {
+2 -2
View File
@@ -21,8 +21,8 @@ _quota_refresh_lock = threading.Lock()
# Path to the companion HTML file (same directory as this script) # Path to the companion HTML file (same directory as this script)
HTML_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "usage-dashboard.html") HTML_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "usage-dashboard.html")
JSON_DIR = os.path.expanduser("~/.cli-proxy-api") JSON_DIR = os.path.expanduser("~/.cli-proxy-api")
BASE_DIR = os.path.expanduser("~/cliproxyapi/usage-dashboard") BASE_DIR = os.path.expanduser("/mnt/ssd/cliproxyapi/usage-dashboard")
AUTH_DIR = os.path.expanduser("~/cliproxyapi") AUTH_DIR = os.path.expanduser("/mnt/ssd/cliproxyapi")
DB_PATH = os.path.join(BASE_DIR, "usage.sqlite") DB_PATH = os.path.join(BASE_DIR, "usage.sqlite")
CONFIG_PATH = os.path.join(BASE_DIR, "config.json") CONFIG_PATH = os.path.join(BASE_DIR, "config.json")
LOCAL_TZ = ZoneInfo("Asia/Ho_Chi_Minh") LOCAL_TZ = ZoneInfo("Asia/Ho_Chi_Minh")