Update web-ui-viewer.tsx Fix yacd parameter hostname error (#1484)

This commit is contained in:
tony-sung 2024-08-18 00:23:24 +08:00 committed by GitHub
parent 1b7dafe743
commit 1ea3b956ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ export const WebUIViewer = forwardRef<DialogRef>((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) => {