mirror of
https://github.com/v2board/v2board.git
synced 2025-05-11 02:34:43 +08:00
update
This commit is contained in:
parent
a1b466e2c2
commit
551073cb83
@ -65,7 +65,7 @@ class Helper
|
|||||||
if ($item->network == 'ws') {
|
if ($item->network == 'ws') {
|
||||||
$wsSettings = json_decode($item->settings);
|
$wsSettings = json_decode($item->settings);
|
||||||
if ($wsSettings->path) $config['path'] = $wsSettings->path;
|
if ($wsSettings->path) $config['path'] = $wsSettings->path;
|
||||||
if ($wsSettings->headers) $config['host'] = $wsSettings->headers->host;
|
if ($wsSettings->headers->Host) $config['host'] = $wsSettings->headers->Host;
|
||||||
}
|
}
|
||||||
return "vmess://".base64_encode(json_encode($config))."\r\n";
|
return "vmess://".base64_encode(json_encode($config))."\r\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user