Browse Source

clean up buildvmess()

Julian Liu 4 years ago
parent
commit
7fe8a5b239
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Utils/Clash.php

+ 1 - 0
app/Utils/Clash.php

@@ -41,6 +41,7 @@ class Clash
             }
         }
         if ($server['network'] === 'ws') {
+            $array['network'] = 'ws';
             if ($server['networkSettings']) {
                 $wsSettings = json_decode($server['networkSettings'], true);
                 if (isset($wsSettings['path']) && !empty($wsSettings['path']))