mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-03-11 07:28:13 -04:00
fix(subscribe): correct vmess websocket cofiguration for Surfboard compatibility
This commit is contained in:
parent
fd0f185992
commit
926677426e
@ -133,7 +133,7 @@ class Surfboard implements ProtocolInterface
|
||||
array_push($config, "sni={$tlsSettings['serverName']}");
|
||||
}
|
||||
}
|
||||
if (data_get($protocol_settings, 'network_settings.network') === 'ws') {
|
||||
if (data_get($protocol_settings, 'network') === 'ws') {
|
||||
array_push($config, 'ws=true');
|
||||
if (data_get($protocol_settings, 'network_settings')) {
|
||||
$wsSettings = data_get($protocol_settings, 'network_settings');
|
||||
|
Loading…
Reference in New Issue
Block a user