From 1c35853e973cd0c213a7867aa7e4b3a6cc1bcdc4 Mon Sep 17 00:00:00 2001 From: Tony Tran Date: Tue, 23 Jun 2026 22:15:08 +0700 Subject: [PATCH] update path dashboard --- usage-dashboard/usage-dashboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usage-dashboard/usage-dashboard.py b/usage-dashboard/usage-dashboard.py index c50e464..4927826 100644 --- a/usage-dashboard/usage-dashboard.py +++ b/usage-dashboard/usage-dashboard.py @@ -21,8 +21,8 @@ _quota_refresh_lock = threading.Lock() # 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") JSON_DIR = os.path.expanduser("~/.cli-proxy-api") -BASE_DIR = os.path.expanduser("~/cliproxyapi/usage-dashboard") -AUTH_DIR = os.path.expanduser("~/cliproxyapi") +BASE_DIR = os.path.dirname(os.path.abspath(__file__)) +AUTH_DIR = os.path.dirname(BASE_DIR) DB_PATH = os.path.join(BASE_DIR, "usage.sqlite") CONFIG_PATH = os.path.join(BASE_DIR, "config.json") LOCAL_TZ = ZoneInfo("Asia/Ho_Chi_Minh")