chore: delete clash core, update CI, change profile name, change URL test link

This commit is contained in:
wonfen committed 2023-11-22 02:56:47 +08:00
1 parent b767caa704
commit 01be65a624
31 files changed
+1327 -974

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ export const getRules = async () => {
export const getProxyDelay = async (name: string, url?: string) => {
const params = {
timeout: 10000,
url: url || "http://www.gstatic.com/generate_204",
url: url || "http://1.1.1.1",
};
const instance = await getAxios();
const result = await instance.get(
+2 -2
View File
@@ -116,10 +116,10 @@ class DelayManager {
}
formatDelayColor(delay: number) {
if (delay <= 0) return "text.secondary";
if (delay >= 10000) return "error.main";
/*if (delay <= 0) return "text.secondary";
if (delay > 500) return "warning.main";
if (delay > 100) return "text.secondary";
if (delay > 100) return "text.secondary";*/
return "success.main";
}
}