feat: migrate to proxied clash api methods

This commit is contained in:
divocat
2025-10-14 22:36:14 +03:00
parent 7cd32910d9
commit ffa0073441
18 changed files with 189 additions and 276 deletions

View File

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