mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-27 23:13:43 +00:00
fix: sing-box insecure is not supported on naive outbound
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.20.52",
|
||||
"version": "2.20.53",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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 = {}) => {
|
||||
|
||||
Reference in new issue
Block a user