diff --git a/backend/package.json b/backend/package.json index 0ddc0e8..e25e91d 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.360", + "version": "2.14.361", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/parsers/index.js b/backend/src/core/proxy-utils/parsers/index.js index b3d1a6e..105b663 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -296,6 +296,11 @@ function URI_VMess() { ? !params.verify_cert : undefined, }; + if (!proxy['skip-cert-verify'] && isPresent(params.allowInsecure)) { + proxy['skip-cert-verify'] = /(TRUE)|1/i.test( + params.allowInsecure, + ); + } // https://github.com/2dust/v2rayN/wiki/%E5%88%86%E4%BA%AB%E9%93%BE%E6%8E%A5%E6%A0%BC%E5%BC%8F%E8%AF%B4%E6%98%8E(ver-2) if (proxy.tls && proxy.sni) { proxy.sni = params.sni;