mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Fix not properly handle ruleset types
This commit is contained in:
1 file changed
+1
-1
@@ -112,7 +112,7 @@ namespace toml
|
||||
case "clash-domain"_hash:
|
||||
case "clash-ipcidr"_hash:
|
||||
case "clash-classic"_hash:
|
||||
conf.Url = type;
|
||||
conf.Url = type + ":";
|
||||
break;
|
||||
default:
|
||||
throw toml::syntax_error("Ruleset has incorrect type, should be one of following:\n surge-ruleset, quantumultx, clash-domain, clash-ipcidr, clash-classic", v.at("type").location());
|
||||
|
||||
Reference in new issue
Block a user