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

[Bug] Generated RuleSet Download URL Does Not Match Documentation #31

Open
aac6fef opened this issue Oct 19, 2024 · 1 comment
Open

Comments

@aac6fef
Copy link

aac6fef commented Oct 19, 2024

According to the documentation, the following configuration:

{
  "type": "github",
  "repository": "SagerNet/sing-geosite",
  "path": "rule-set",
  "prefix": "geosite-",
  "rule_set": [
    "apple",
    "microsoft",
    "openai"
  ]
}

should generate something like:

{
  "type": "remote",
  "tag": "geosite-apple",
  "format": "binary",
  "url": "https://testingcf.jsdelivr.net/gh/SagerNet/sing-geosite@rule-set/geosite-apple.srs",
  "download_detour": "direct"
}

However, the actual output is:

{
  "type": "remote",
  "tag": "geosite-apple",
  "format": "binary",
  "url": "https://testingcf.jsdelivr.net/gh/SagerNet/[email protected]",
  "download_detour": "direct"
}
aac6fef added a commit to aac6fef/serenity that referenced this issue Oct 19, 2024
@john-jane-doe
Copy link

We encountered the same problem, and finally figured out that this section should be configured as:

{
  "type": "github",
  "repository": "SagerNet/sing-geosite",
  "path": "rule-set/geo-site-",
  "prefix": "geosite-",
  "rule_set": [
    "apple",
    "microsoft",
    "openai"
  ]
}

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

2 participants