From 18bb285a9049f34b9decff5f73904275f3b31181 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Thu, 18 Jun 2020 21:33:57 +0800 Subject: [PATCH] Fix: `external-ui` should relative with clash HomeDir --- hub/route/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/route/server.go b/hub/route/server.go index a73e8059..827cdb12 100644 --- a/hub/route/server.go +++ b/hub/route/server.go @@ -36,7 +36,7 @@ type Traffic struct { } func SetUIPath(path string) { - uiPath = path + uiPath = C.Path.Resolve(path) } func Start(addr string, secret string) {