We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda1467 commit afd44b7Copy full SHA for afd44b7
src/modules/subscription-template/generators/mihomo.generator.service.ts
@@ -328,9 +328,6 @@ export class MihomoGeneratorService {
328
if (alpn) {
329
node.alpn = alpn.split(',');
330
}
331
- if (allowInsecure) {
332
- node['skip-cert-verify'] = allowInsecure;
333
- }
334
335
336
let netOpts: NetworkConfig = {};
@@ -366,6 +363,10 @@ export class MihomoGeneratorService {
366
363
367
364
368
365
+ if (allowInsecure && type !== 'ss') {
+ node['skip-cert-verify'] = allowInsecure;
+ }
369
+
370
node['client-fingerprint'] = clientFingerprint || 'chrome';
371
372
return node;
0 commit comments