From 8119e7dbd9e4deffd589c20569e0ce00a3e5d2f0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 27 May 2026 19:11:45 +0800 Subject: [PATCH] fix: relative symlinks + imgs/msp.svg for production compatibility - Convert all 21 wwwroot symlinks from absolute to relative paths - Internal pkgs: ../pkgs/MODULE/wwwroot - External repos: ../../MODULE/wwwroot - Add imgs/msp.svg logo placeholder (replaces missing msp.png) - Remove stale shell.ui symlink (index.ui is the shell now) - Update index.ui to reference msp.svg instead of msp.png --- wwwroot/accounting | 2 +- wwwroot/appbase | 2 +- wwwroot/bricks | 2 +- wwwroot/charge | 2 +- wwwroot/dapi | 2 +- wwwroot/discount | 2 +- wwwroot/filemgr | 2 +- wwwroot/hermes-web-cli | 2 +- wwwroot/imgs/msp.svg | 10 ++++++++++ wwwroot/index.ui | 2 +- wwwroot/llmage | 2 +- wwwroot/msp | 2 +- wwwroot/platformbiz | 2 +- wwwroot/pricing | 2 +- wwwroot/rag | 2 +- wwwroot/rbac | 2 +- wwwroot/shell.ui | 1 - wwwroot/shell_theme.css | 2 +- wwwroot/shell_theme.js | 2 +- wwwroot/supplychain | 2 +- wwwroot/uapi | 2 +- wwwroot/unipay | 2 +- 22 files changed, 30 insertions(+), 21 deletions(-) create mode 100644 wwwroot/imgs/msp.svg delete mode 120000 wwwroot/shell.ui diff --git a/wwwroot/accounting b/wwwroot/accounting index 04a78ff..7ded735 120000 --- a/wwwroot/accounting +++ b/wwwroot/accounting @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/accounting/wwwroot \ No newline at end of file +../pkgs/accounting/wwwroot \ No newline at end of file diff --git a/wwwroot/appbase b/wwwroot/appbase index e2fe645..63a1cc7 120000 --- a/wwwroot/appbase +++ b/wwwroot/appbase @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/appbase/wwwroot \ No newline at end of file +../pkgs/appbase/wwwroot \ No newline at end of file diff --git a/wwwroot/bricks b/wwwroot/bricks index 682d4ae..5f362d2 120000 --- a/wwwroot/bricks +++ b/wwwroot/bricks @@ -1 +1 @@ -/home/hermesai/repos/bricks/dist \ No newline at end of file +../../bricks/dist \ No newline at end of file diff --git a/wwwroot/charge b/wwwroot/charge index cfa2b55..3a49949 120000 --- a/wwwroot/charge +++ b/wwwroot/charge @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/charge/wwwroot \ No newline at end of file +../pkgs/charge/wwwroot \ No newline at end of file diff --git a/wwwroot/dapi b/wwwroot/dapi index c7d9afb..4e3dcab 120000 --- a/wwwroot/dapi +++ b/wwwroot/dapi @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/dapi/wwwroot \ No newline at end of file +../pkgs/dapi/wwwroot \ No newline at end of file diff --git a/wwwroot/discount b/wwwroot/discount index f9cbdf6..6a1ca3e 120000 --- a/wwwroot/discount +++ b/wwwroot/discount @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/discount/wwwroot \ No newline at end of file +../pkgs/discount/wwwroot \ No newline at end of file diff --git a/wwwroot/filemgr b/wwwroot/filemgr index de3b622..70a473c 120000 --- a/wwwroot/filemgr +++ b/wwwroot/filemgr @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/filemgr/wwwroot \ No newline at end of file +../pkgs/filemgr/wwwroot \ No newline at end of file diff --git a/wwwroot/hermes-web-cli b/wwwroot/hermes-web-cli index 80529c4..7467bc4 120000 --- a/wwwroot/hermes-web-cli +++ b/wwwroot/hermes-web-cli @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/hermes-web-cli/wwwroot \ No newline at end of file +../pkgs/hermes-web-cli/wwwroot \ No newline at end of file diff --git a/wwwroot/imgs/msp.svg b/wwwroot/imgs/msp.svg new file mode 100644 index 0000000..0c3dbeb --- /dev/null +++ b/wwwroot/imgs/msp.svg @@ -0,0 +1,10 @@ + + + + + + + + + S + diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 61f4d3a..0a8d01f 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -43,7 +43,7 @@ { "widgettype": "Image", "options": { - "url": "{{entire_url('/imgs/msp.png')}}", + "url": "{{entire_url('/imgs/msp.svg')}}", "height": "32px", "marginLeft": "12px" } diff --git a/wwwroot/llmage b/wwwroot/llmage index f6e66b3..d562baa 120000 --- a/wwwroot/llmage +++ b/wwwroot/llmage @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/llmage/wwwroot \ No newline at end of file +../pkgs/llmage/wwwroot \ No newline at end of file diff --git a/wwwroot/msp b/wwwroot/msp index cf5cfa6..b23a28e 120000 --- a/wwwroot/msp +++ b/wwwroot/msp @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/msp/wwwroot \ No newline at end of file +../pkgs/msp/wwwroot \ No newline at end of file diff --git a/wwwroot/platformbiz b/wwwroot/platformbiz index a47c2cb..c4a15a7 120000 --- a/wwwroot/platformbiz +++ b/wwwroot/platformbiz @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/platformbiz/wwwroot \ No newline at end of file +../pkgs/platformbiz/wwwroot \ No newline at end of file diff --git a/wwwroot/pricing b/wwwroot/pricing index 75f4db4..7eba1f1 120000 --- a/wwwroot/pricing +++ b/wwwroot/pricing @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/pricing/wwwroot \ No newline at end of file +../pkgs/pricing/wwwroot \ No newline at end of file diff --git a/wwwroot/rag b/wwwroot/rag index 1ac33d3..f43d975 120000 --- a/wwwroot/rag +++ b/wwwroot/rag @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/rag/wwwroot \ No newline at end of file +../pkgs/rag/wwwroot \ No newline at end of file diff --git a/wwwroot/rbac b/wwwroot/rbac index 3f6c124..d514a57 120000 --- a/wwwroot/rbac +++ b/wwwroot/rbac @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/rbac/wwwroot \ No newline at end of file +../pkgs/rbac/wwwroot \ No newline at end of file diff --git a/wwwroot/shell.ui b/wwwroot/shell.ui deleted file mode 120000 index 16ae57d..0000000 --- a/wwwroot/shell.ui +++ /dev/null @@ -1 +0,0 @@ -/home/hermesai/repos/dashboard_for_sage/wwwroot/shell.ui \ No newline at end of file diff --git a/wwwroot/shell_theme.css b/wwwroot/shell_theme.css index 893a2b3..fe14dae 120000 --- a/wwwroot/shell_theme.css +++ b/wwwroot/shell_theme.css @@ -1 +1 @@ -/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.css \ No newline at end of file +../../dashboard_for_sage/wwwroot/shell_theme.css \ No newline at end of file diff --git a/wwwroot/shell_theme.js b/wwwroot/shell_theme.js index 50c524d..af0c87e 120000 --- a/wwwroot/shell_theme.js +++ b/wwwroot/shell_theme.js @@ -1 +1 @@ -/home/hermesai/repos/dashboard_for_sage/wwwroot/shell_theme.js \ No newline at end of file +../../dashboard_for_sage/wwwroot/shell_theme.js \ No newline at end of file diff --git a/wwwroot/supplychain b/wwwroot/supplychain index bc3bd63..4c4852c 120000 --- a/wwwroot/supplychain +++ b/wwwroot/supplychain @@ -1 +1 @@ -/home/hermesai/repos/supplychain/wwwroot \ No newline at end of file +../../supplychain/wwwroot \ No newline at end of file diff --git a/wwwroot/uapi b/wwwroot/uapi index 5cb16d6..5584ba3 120000 --- a/wwwroot/uapi +++ b/wwwroot/uapi @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/uapi/wwwroot \ No newline at end of file +../pkgs/uapi/wwwroot \ No newline at end of file diff --git a/wwwroot/unipay b/wwwroot/unipay index 4e2e2de..b019d95 120000 --- a/wwwroot/unipay +++ b/wwwroot/unipay @@ -1 +1 @@ -/home/hermesai/repos/sage/pkgs/unipay/wwwroot \ No newline at end of file +../pkgs/unipay/wwwroot \ No newline at end of file