mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 03:57:27 +08:00
fix(subscribe): correct vmess websocket cofiguration for Surfboard compatibility
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user