refactored IP detection and added zashboard redirect URL (#3510)

* Fixed the language display size issue and updated the translation synchronously!

* Fixed Russian language display issue

* refactored IP detection and added zashboard redirect URL

---------

Co-authored-by: Ahao <108321411+xuanyuan0408@users.noreply.github.com>
This commit is contained in:
Ahao
2025-05-14 20:32:45 +08:00
committed by GitHub
Unverified
parent c100b9c54d
commit 4f86f3c0ec
3 changed files with 98 additions and 35 deletions

View File

@@ -26,6 +26,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/?hostname=%host&port=%port&secret=%secret",
"https://board.zash.run.place/#/setup?http=true&hostname=%host&port=%port&secret=%secret",
];
const handleAdd = useLockFn(async (value: string) => {