mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-04-21 21:29:37 +08:00
11 lines
420 B
JavaScript
11 lines
420 B
JavaScript
function operator(proxies, targetPlatform) {
|
|
const fingerprint = "你的指纹";
|
|
proxies.forEach(proxy => {
|
|
if (targetPlatform === "Surge") {
|
|
proxy.tfo = `${proxy.tfo || false}, server-cert-fingerprint-sha256=${fingerprint}`;
|
|
} else if (targetPlatform === "QX") {
|
|
proxy.tfo = `${proxy.tfo || false}, tls-cert-sha256=${fingerprint}`;
|
|
}
|
|
});
|
|
return proxies;
|
|
} |