浏览代码

clean up buildvmess()

Julian Liu 4 年之前
父节点
当前提交
7fe8a5b239
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Utils/Clash.php

+ 1 - 0
app/Utils/Clash.php

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