fix setting pac

This commit is contained in:
go0p
2025-03-04 16:07:15 +08:00
parent 322cd6dcd6
commit 2253bdffb1
10 changed files with 1109 additions and 940 deletions
+10 -1
View File
@@ -1,12 +1,21 @@
export interface PacScript {
data?: string;
url?: string;
mandatory?: boolean;
}
export interface ProxyConfig {
id: string;
name: string;
enabled: boolean;
proxyType: "direct" | "system" | "fixed_servers" | "pac_script" | "auto_detect";
mode?: string;
host?: string;
port?: number;
scheme?: "http" | "https" | "socks4" | "socks5";
pacScript?: string;
pacScript?: PacScript;
bypassList?: string[];
matchList?: string[];
}
export interface ProxyLog {