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

rule-providers 中 type: file 的本地文件内容无法加载. #555

Open
gsuns opened this issue Nov 13, 2024 · 1 comment
Open

rule-providers 中 type: file 的本地文件内容无法加载. #555

gsuns opened this issue Nov 13, 2024 · 1 comment

Comments

@gsuns
Copy link

gsuns commented Nov 13, 2024

FIClash版本 0.8.67

FIClash配置文件中的内容摘选:

rule-providers:
  # 域名 - 代理
  DomainProxy:
    type: file
    behavior: domain
    format: yaml
    path: /User/Rule/DomainProxy.yaml

rules:
  # 域名 - 代理
  - RULE-SET,DomainProxy,Proxy
  - MATCH,DIRECT

/User/Rule/DomainProxy.yaml 配置文件内容:

payload:
  - '+.google.com'

后来我不使用- RULE-SET,DomainProxy,Proxy,改成

  - DOMAIN-SUFFIX,google.com,Proxy

之后,可以正常访问.希望能够解决

@gsuns
Copy link
Author

gsuns commented Nov 13, 2024

如果不能将域名存放到其他文件中,整个 FlClash文件内容会很长,不太好阅读

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

No branches or pull requests

1 participant