We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用同一家机场的ss 和 trojan 订阅作为provider时直接按照下面的方式写surgio.conf.js会导致生成的surge 配置中proxy group 里有两个“剩余流量”引发报错,尝试使用 filter 也无法排除
customFilters:{ myFilter: utils.discardKeywords(['剩余','时间']) } { name: 'SurgeV3_combine.conf', template: 'surge_v3', provider: 'ss', combineProviders: ['trojan'], customParams: { magicVariable: utils.myFilter, }, },
The text was updated successfully, but these errors were encountered:
对于我来说,我是这样处理的,给不同机场都添加一个独特的后缀:
// providers.someairport module.exports = defineClashProvider ({ // ... 前面定义的一些东西省略 hooks: { afterNodeListResponse: async (nodeList, _) => { for (const node of nodeList) { // 为节点名字添加一个后缀 node.nodeName = `${node.nodeName} | 在这里添加你的后缀`; } return nodeList; }, }, }
Sorry, something went wrong.
No branches or pull requests
使用同一家机场的ss 和 trojan 订阅作为provider时直接按照下面的方式写surgio.conf.js会导致生成的surge 配置中proxy group 里有两个“剩余流量”引发报错,尝试使用 filter 也无法排除
The text was updated successfully, but these errors were encountered: