Untitled
unknown
plain_text
2 years ago
453 B
13
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...