Skip to content

Commit c998910

Browse files
authored
Use raw.githubusercontent.com instead of cdn.jsdelivr.net (#7732)
#7682
1 parent 386c86b commit c998910

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

v2rayN/ServiceLib/Global.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,24 +136,24 @@ public class Global
136136
];
137137

138138
public static readonly List<string> SingboxRulesetSources =
139-
[
140-
"",
141-
@"https://cdn.jsdelivr.net/gh/runetfreedom/russia-v2ray-rules-dat@release/sing-box/rule-set-{0}/{1}.srs",
142-
@"https://cdn.jsdelivr.net/gh/chocolate4u/Iran-sing-box-rules@rule-set/{1}.srs"
143-
];
139+
[
140+
"",
141+
@"https://raw.githubusercontent.com/runetfreedom/russia-v2ray-rules-dat/release/sing-box/rule-set-{0}/{1}.srs",
142+
@"https://raw.githubusercontent.com/chocolate4u/Iran-sing-box-rules/rule-set/{1}.srs"
143+
];
144144

145145
public static readonly List<string> RoutingRulesSources =
146146
[
147147
"",
148-
@"https://cdn.jsdelivr.net/gh/runetfreedom/russia-v2ray-custom-routing-list@main/v2rayN/template.json",
149-
@"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/template.json"
148+
@"https://raw.githubusercontent.com/runetfreedom/russia-v2ray-custom-routing-list/main/v2rayN/template.json",
149+
@"https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/main/v2rayN/template.json"
150150
];
151151

152152
public static readonly List<string> DNSTemplateSources =
153153
[
154154
"",
155-
@"https://cdn.jsdelivr.net/gh/runetfreedom/russia-v2ray-custom-routing-list@main/v2rayN/",
156-
@"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/"
155+
@"https://raw.githubusercontent.com/runetfreedom/russia-v2ray-custom-routing-list/main/v2rayN/",
156+
@"https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/main/v2rayN/"
157157
];
158158

159159
public static readonly Dictionary<string, string> UserAgentTexts = new()

0 commit comments

Comments
 (0)