mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 19:40:53 +08:00
fix(subscribe): fix vmess+tcp+http subscription in Clash and Clash Meta
This commit is contained in:
@@ -205,7 +205,7 @@ class Clash extends AbstractProtocol
|
||||
if (data_get($protocol_settings, 'network_settings.header.type', 'none') !== 'none') {
|
||||
$array['http-opts'] = [
|
||||
'headers' => data_get($protocol_settings, 'network_settings.header.request.headers'),
|
||||
'path' => \Illuminate\Support\Arr::random(data_get($protocol_settings, 'network_settings.header.request.path', ['/']))
|
||||
'path' => data_get($protocol_settings, 'network_settings.header.request.path', ['/'])
|
||||
];
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user