diff --git a/src/generator/config/subexport.cpp b/src/generator/config/subexport.cpp index 20c8a265ef..58be7fb9cc 100644 --- a/src/generator/config/subexport.cpp +++ b/src/generator/config/subexport.cpp @@ -514,7 +514,7 @@ void proxyToClash(std::vector &nodes, YAML::Node &yamlnode, const ProxyGr if (!x.Alpn.empty()) singleproxy["alpn"] = x.Alpn; if (!x.Ca.empty()) - singleproxy["ca-str"] = fileGet(x.Ca); + singleproxy["ca"] = x.Ca; if (!x.CaStr.empty()) singleproxy["ca-str"] = x.CaStr; if (x.RecvWindowConn) @@ -547,7 +547,7 @@ void proxyToClash(std::vector &nodes, YAML::Node &yamlnode, const ProxyGr if (!x.Alpn.empty()) singleproxy["alpn"] = x.Alpn; if (!x.Ca.empty()) - singleproxy["ca-str"] = fileGet(x.Ca); + singleproxy["ca"] = x.Ca; if (!x.CaStr.empty()) singleproxy["ca-str"] = x.CaStr; if (x.CWND)