Bläddra i källkod

fix: quantumultx tls-host key error

tokumeikoi 4 år sedan
förälder
incheckning
a0d1b10614
2 ändrade filer med 1 tillägg och 3 borttagningar
  1. 0 2
      app/Utils/QuantumultX.php
  2. 1 1
      config/app.php

+ 0 - 2
app/Utils/QuantumultX.php

@@ -47,8 +47,6 @@ class QuantumultX
                 $tlsSettings = json_decode($server['tlsSettings'], true);
                 if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
                     array_push($config, 'tls-verification=' . ($tlsSettings['allowInsecure'] ? 'false' : 'true'));
-                if (isset($tlsSettings['serverName']) && !empty($tlsSettings['serverName']))
-                    array_push($config, "tls-host={$tlsSettings['serverName']}");
             }
         }
         if ($server['network'] === 'ws') {

+ 1 - 1
config/app.php

@@ -236,5 +236,5 @@ return [
     | The only modification by laravel config
     |
     */
-    'version' => '1.4.2.1607914998'
+    'version' => '1.4.3.1608131637'
 ];