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']}");
|
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');
|
||||||
|
|||||||
Reference in New Issue
Block a user