mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 11:20:53 +08:00
fix(subscribe): correct vmess websocket cofiguration for Surge compatibility
This commit is contained in:
@@ -135,7 +135,7 @@ class Surge implements ProtocolInterface
|
||||
array_push($config, "sni={$tlsSettings['server_name']}");
|
||||
}
|
||||
}
|
||||
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