fix: sing-box insecure is not supported on naive outbound

This commit is contained in:
xream committed 2025-12-15 18:35:49 +08:00
1 parent 82b60f1470
commit 2da346ea3b
2 files changed
+8 -1

No files matched your search

@@ -670,6 +670,13 @@ const naiveParser = (proxy = {}) => {
tlsParser(proxy, parsedProxy);
smuxParser(proxy.smux, parsedProxy);
ipVersionParser(proxy, parsedProxy);
if (parsedProxy.tls?.insecure) {
$.info(
`Platform sing-box: insecure is not supported on naive outbound`,
);
delete parsedProxy.tls.insecure;
}
return parsedProxy;
};
const hysteriaParser = (proxy = {}) => {