Fix when no custom ruleset is set in external config file, no rules will be generated.
Fix ws-path parsing for Quantumult X VMess subscription.
Add README for Docker.
Optimize codes.
This commit is contained in:
Tindy X committed 2020-01-16 21:50:27 +08:00
1 parent 2038533798
commit 66dde82c85
4 files changed
+30 -1

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ std::string vmessConstruct(std::string add, std::string port, std::string type,
path = "/";
if(!host.size())
host = add;
if(!id.size())
id = "00000000-0000-0000-0000-000000000000"; //fill this field for node with empty id
rapidjson::StringBuffer sb;
rapidjson::Writer<rapidjson::StringBuffer> writer(sb);
writer.StartObject();