fix: force http for yacd enable link

This commit is contained in:
divocat
2025-10-09 18:20:48 +03:00
parent 9bc2b5ffef
commit 715a278af8
3 changed files with 12 additions and 1 deletions

View File

@@ -9,3 +9,9 @@ export function getClashWsUrl(): string {
return `ws://${hostname}:9090`;
}
export function getClashUIUrl(): string {
const { hostname } = window.location;
return `http://${hostname}:9090/ui`;
}