mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Add support for exporting Clash proxy-provider. Add version info on Web server main page. Fix program crash when no nodes are available in generating Mellow configuration.
This commit is contained in:
2 files changed
+18
-1
No files matched your search
@@ -494,6 +494,11 @@ int main(int argc, char *argv[])
|
||||
if(!update_ruleset_on_request)
|
||||
refreshRulesets(rulesets, ruleset_content_array);
|
||||
|
||||
append_response("GET", "/", "text/plain", [](RESPONSE_CALLBACK_ARGS) -> std::string
|
||||
{
|
||||
return std::string("subconverter " VERSION " backend");
|
||||
});
|
||||
|
||||
append_response("GET", "/refreshrules", "text/plain", [](RESPONSE_CALLBACK_ARGS) -> std::string
|
||||
{
|
||||
return refreshRulesets(rulesets, ruleset_content_array);
|
||||
|
||||
Reference in new issue
Block a user