Skip to content

Commit

Permalink
feat: add v2rayN v2rayNG mport support
Browse files Browse the repository at this point in the history
  • Loading branch information
xboard committed Jan 15, 2025
1 parent 4d46b02 commit 783c5fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Protocols/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ public static function buildHysteria($password, $server)
$params['obfs'] = 'salamander';
$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');

Expand Down

0 comments on commit 783c5fb

Please sign in to comment.