Untitled
Anonymous
plain_text
03/10/2024 4:25 PM
604 B
17
Indexable
function operator(proxies, targetPlatform) {
const { isSurge } = $substore.env;
const { host, allowInsecure } = $arguments;
if (isSurge) {
return proxies.map((proxy) => {
if (proxy.type === "vmess" && proxy.port === 443) {
proxy.sni = host;
p["skip-cert-verify"] = !allowInsecure || allowInsecure == "true";
}
return proxy;
});
}
return proxies;
}Editor is loading...