#Sub-Store #订阅转换
当你的来源是 QX 时, 把别的客户端不支持的 chacha20-ietf-poly1305 换成 auto
async function operator(proxies = []) {
const _ = lodash
return proxies.map((p = {}) => {
if (_.get(p, 'cipher') === 'chacha20-ietf-poly1305') {
_.set(p, 'cipher', 'auto');
}
return p
})
}
当你的来源是 QX 时, 把别的客户端不支持的 chacha20-ietf-poly1305 换成 auto
async function operator(proxies = []) {
const _ = lodash
return proxies.map((p = {}) => {
if (_.get(p, 'cipher') === 'chacha20-ietf-poly1305') {
_.set(p, 'cipher', 'auto');
}
return p
})
}