Pārlūkot izejas kodu

Merge branch 'dev' of https://github.com/v2board/v2board into dev

tokumeikoi 3 gadi atpakaļ
vecāks
revīzija
53011cb95c
1 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. 3 4
      app/Http/Controllers/Client/Protocols/Surfboard.php

+ 3 - 4
app/Http/Controllers/Client/Protocols/Surfboard.php

@@ -67,12 +67,11 @@ class Surfboard
     public static function buildShadowsocks($password, $server)
     {
         $config = [
-            "{$server['name']}=custom",
+            "{$server['name']}=ss",
             "{$server['host']}",
             "{$server['port']}",
-            "{$server['cipher']}",
-            "{$password}",
-            'https://raw.githubusercontent.com/Hackl0us/proxy-tool-backup/master/SSEncrypt.module',
+            "encrypt-method={$server['cipher']}",
+            "password={$password}",
             'tfo=true',
             'udp-relay=true'
         ];