mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-01 23:18:13 -05:00
feat: add v2rayN v2rayNG mport support
This commit is contained in:
parent
4d46b02422
commit
783c5fb586
@ -209,6 +209,9 @@ class General implements ProtocolInterface
|
|||||||
$params['obfs'] = 'salamander';
|
$params['obfs'] = 'salamander';
|
||||||
$params['obfs-password'] = data_get($protocol_settings, 'obfs.password');
|
$params['obfs-password'] = data_get($protocol_settings, 'obfs.password');
|
||||||
}
|
}
|
||||||
|
if(isset($server['ports'])){
|
||||||
|
$params['mport'] = $server['ports'];
|
||||||
|
}
|
||||||
|
|
||||||
$params['insecure'] = data_get($protocol_settings, 'tls.allow_insecure');
|
$params['insecure'] = data_get($protocol_settings, 'tls.allow_insecure');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user