mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-03-12 07:48:14 -04:00
fix(subscribe): correct vmess websocket cofiguration for Surge compatibility
This commit is contained in:
parent
926677426e
commit
4667eb232c
@ -135,7 +135,7 @@ class Surge implements ProtocolInterface
|
|||||||
array_push($config, "sni={$tlsSettings['server_name']}");
|
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');
|
array_push($config, 'ws=true');
|
||||||
if (data_get($protocol_settings, 'network_settings')) {
|
if (data_get($protocol_settings, 'network_settings')) {
|
||||||
$wsSettings = data_get($protocol_settings, 'network_settings');
|
$wsSettings = data_get($protocol_settings, 'network_settings');
|
||||||
|
Loading…
Reference in New Issue
Block a user