feat: Add Test Page

This commit is contained in:
MystiPanda
2024-01-17 11:02:17 +08:00
parent b7d3b807d2
commit b6f4695bcd
13 changed files with 654 additions and 4 deletions

View File

@@ -165,6 +165,10 @@ export async function cmdGetProxyDelay(name: string, url?: string) {
return invoke<{ delay: number }>("clash_api_get_proxy_delay", { name, url });
}
export async function cmdTestDelay(url: string) {
return invoke<number>("test_delay", { url });
}
/// service mode
export async function checkService() {