From b5eb5652b9465ae4c565592280146bb6d9b8e55e Mon Sep 17 00:00:00 2001 From: VMIS Developer Date: Sun, 15 Mar 2026 20:20:22 +0800 Subject: [PATCH] fix: add base href /admin/ to admin portal HTML files Without base href, relative asset paths (css/, js/, img/) resolve to root path when accessed via /admin (no trailing slash), causing CSS/JS to be served by NC instead of vmis-backend. Co-Authored-By: Claude Sonnet 4.6 --- frontend/admin-portal/accounts.html | 1 + frontend/admin-portal/index.html | 1 + frontend/admin-portal/schedule-logs.html | 1 + frontend/admin-portal/schedules.html | 1 + frontend/admin-portal/servers.html | 1 + frontend/admin-portal/settings.html | 1 + frontend/admin-portal/system-status.html | 1 + frontend/admin-portal/tenants.html | 1 + 8 files changed, 8 insertions(+) diff --git a/frontend/admin-portal/accounts.html b/frontend/admin-portal/accounts.html index 168f4d6..606d351 100644 --- a/frontend/admin-portal/accounts.html +++ b/frontend/admin-portal/accounts.html @@ -2,6 +2,7 @@ + 帳號管理 — VMIS Admin diff --git a/frontend/admin-portal/index.html b/frontend/admin-portal/index.html index 36ed120..e3b5f98 100644 --- a/frontend/admin-portal/index.html +++ b/frontend/admin-portal/index.html @@ -2,6 +2,7 @@ + VMIS Admin Portal diff --git a/frontend/admin-portal/schedule-logs.html b/frontend/admin-portal/schedule-logs.html index 3c30787..ae7b185 100644 --- a/frontend/admin-portal/schedule-logs.html +++ b/frontend/admin-portal/schedule-logs.html @@ -2,6 +2,7 @@ + 排程執行紀錄 — VMIS Admin diff --git a/frontend/admin-portal/schedules.html b/frontend/admin-portal/schedules.html index 2c5cf27..00043d8 100644 --- a/frontend/admin-portal/schedules.html +++ b/frontend/admin-portal/schedules.html @@ -2,6 +2,7 @@ + 排程管理 — VMIS Admin diff --git a/frontend/admin-portal/servers.html b/frontend/admin-portal/servers.html index 3a25d59..129e580 100644 --- a/frontend/admin-portal/servers.html +++ b/frontend/admin-portal/servers.html @@ -2,6 +2,7 @@ + 伺服器狀態 — VMIS Admin diff --git a/frontend/admin-portal/settings.html b/frontend/admin-portal/settings.html index 1895d0c..9d45ea2 100644 --- a/frontend/admin-portal/settings.html +++ b/frontend/admin-portal/settings.html @@ -2,6 +2,7 @@ + 系統設定 — VMIS Admin diff --git a/frontend/admin-portal/system-status.html b/frontend/admin-portal/system-status.html index d843cd1..c9399f3 100644 --- a/frontend/admin-portal/system-status.html +++ b/frontend/admin-portal/system-status.html @@ -2,6 +2,7 @@ + 系統狀態 — VMIS Admin diff --git a/frontend/admin-portal/tenants.html b/frontend/admin-portal/tenants.html index b81b02a..7747cdf 100644 --- a/frontend/admin-portal/tenants.html +++ b/frontend/admin-portal/tenants.html @@ -2,6 +2,7 @@ + 租戶管理 — VMIS Admin