大概率是你的前置面板版本太旧,导致配置文件不兼容 新的CFW。
在CFW 的 setting-》 proflies-》 parsers ,点击edit, 把下面的粘贴覆盖原来的。注意URL要替换你的订阅。保存后重新update你的订阅链接
parsers:
- url: 这里填写你的订阅链接
code: |
module.exports.parse = async (raw, { axios, yaml, notify, console }, { name, url, interval, selected }) => {
const obj = yaml.parse(raw)
obj.proxies.forEach( v => {
if (v.network === 'ws' && !v['ws-opts']) {
const opts = {}
opts.path = v['ws-path']
v['ws-opts'] = opts
}
})
return yaml.stringify(obj)
} |