mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-02 07:28:13 -05:00
Update Shadowrocket.php
This commit is contained in:
parent
ab34ef327a
commit
42542725f7
@ -190,7 +190,7 @@ class Shadowrocket
|
|||||||
if ($server['network_settings']) {
|
if ($server['network_settings']) {
|
||||||
$wsSettings = $server['network_settings'];
|
$wsSettings = $server['network_settings'];
|
||||||
if (isset($wsSettings['path']) && !empty($wsSettings['path']))
|
if (isset($wsSettings['path']) && !empty($wsSettings['path']))
|
||||||
$config['path'] = $wsSettings['path'];
|
$config['path'] = $wsSettings['path'] . '?ed=2560';
|
||||||
if (isset($wsSettings['headers']['Host']) && !empty($wsSettings['headers']['Host']))
|
if (isset($wsSettings['headers']['Host']) && !empty($wsSettings['headers']['Host']))
|
||||||
$config['obfsParam'] = $wsSettings['headers']['Host'];
|
$config['obfsParam'] = $wsSettings['headers']['Host'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user