fix trojan shadowrocket remarks

This commit is contained in:
Tokumeikoi 2020-06-12 17:12:17 +08:00
parent ff3451d0e0
commit e733a53e85

View File

@ -59,6 +59,7 @@ class Helper
public static function buildTrojanLink(ServerTrojan $server, User $user)
{
$server->name = urlencode($server->name);
$uri = "trojan://{$user->uuid}@{$server->host}:{$server->port}#{$server->name}";
$uri .= "\r\n";
return $uri;