This commit is contained in:
root 2019-12-28 11:40:00 +08:00
parent 0b3cf4a2a4
commit a1b466e2c2
2 changed files with 2 additions and 1 deletions

View File

@ -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 one or more lines are too long