mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Fix not processing quotes in ws-headers in Surge VMess configurations. Fix when default_url is set and insert_url is not set in YAML configuration and access /sub without url argument, the nodes in default_url will be added twice. Add /version interface to compatible with some front-end.
This commit is contained in:
6 files changed
+39
-16
No files matched your search
+6
-1
@@ -130,7 +130,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
append_response("GET", "/", "text/plain", [](RESPONSE_CALLBACK_ARGS) -> std::string
|
||||
{
|
||||
return std::string("subconverter " VERSION " backend\n");
|
||||
return "subconverter " VERSION " backend\n";
|
||||
});
|
||||
|
||||
append_response("GET", "/version", "text/plain", [](RESPONSE_CALLBACK_ARGS) -> std::string
|
||||
{
|
||||
return "subconverter " VERSION " backend\n";
|
||||
});
|
||||
|
||||
append_response("GET", "/refreshrules", "text/plain", [](RESPONSE_CALLBACK_ARGS) -> std::string
|
||||
|
||||
Reference in new issue
Block a user