Skip to content
New issue

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

Add format field to rule-providers in clash config based on file exte… #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jimlee2048
Copy link
Contributor

@jimlee2048 jimlee2048 commented Feb 14, 2024

@zhangsmallchi
Copy link
Contributor

似乎逻辑不是很正确,如果配置一个规则是list,在转为clash rule-providers的时候
url: "https://domain/getruleset?type=3&url=xxxxx"
指定type为3的时候,实际上生成的是yaml的domain
但是你判断的url后缀是list,故将这个规则format认定为text而不是yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants