From 1ea3b956adb8774d472001d1a65073ddde6ff67e Mon Sep 17 00:00:00 2001 From: tony-sung <97819349+tony-sung@users.noreply.github.com> Date: Sun, 18 Aug 2024 00:23:24 +0800 Subject: [PATCH] Update web-ui-viewer.tsx Fix yacd parameter hostname error (#1484) --- src/components/setting/mods/web-ui-viewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/setting/mods/web-ui-viewer.tsx b/src/components/setting/mods/web-ui-viewer.tsx index afdb387..e2b1ee1 100644 --- a/src/components/setting/mods/web-ui-viewer.tsx +++ b/src/components/setting/mods/web-ui-viewer.tsx @@ -24,7 +24,7 @@ export const WebUIViewer = forwardRef((props, ref) => { const webUIList = verge?.web_ui_list || [ "https://metacubex.github.io/metacubexd/#/setup?http=true&hostname=%host&port=%port&secret=%secret", - "https://yacd.metacubex.one/?host=%host&port=%port&secret=%secret", + "https://yacd.metacubex.one/?hostname=%host&port=%port&secret=%secret", ]; const handleAdd = useLockFn(async (value: string) => {