mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update trojan server
This commit is contained in:
parent
d418443404
commit
ff3451d0e0
@ -59,7 +59,7 @@ class Helper
|
|||||||
|
|
||||||
public static function buildTrojanLink(ServerTrojan $server, User $user)
|
public static function buildTrojanLink(ServerTrojan $server, User $user)
|
||||||
{
|
{
|
||||||
$uri = "trojan://{$user->uuid}@{$server->host}:{$server->port}";
|
$uri = "trojan://{$user->uuid}@{$server->host}:{$server->port}#{$server->name}";
|
||||||
$uri .= "\r\n";
|
$uri .= "\r\n";
|
||||||
return $uri;
|
return $uri;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user