root 5 years ago
parent
commit
a1b466e2c2
2 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Utils/Helper.php
  2. 0 0
      public/p__plan.async.js

+ 1 - 0
app/Utils/Helper.php

@@ -65,6 +65,7 @@ class Helper
         if ($item->network == 'ws') {
             $wsSettings = json_decode($item->settings);
             if ($wsSettings->path) $config['path'] = $wsSettings->path;
+            if ($wsSettings->headers) $config['host'] = $wsSettings->headers->host;
         }
         return "vmess://".base64_encode(json_encode($config))."\r\n";
     }

File diff suppressed because it is too large
+ 0 - 0
public/p__plan.async.js


Some files were not shown because too many files changed in this diff