mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-11 05:56:55 +03:00
fix: force http for yacd enable link
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user