diff --git a/src/Services/Subscribe/SS.php b/src/Services/Subscribe/SS.php index 76ab2690a..8bdc140c8 100755 --- a/src/Services/Subscribe/SS.php +++ b/src/Services/Subscribe/SS.php @@ -23,7 +23,7 @@ final class SS extends Base foreach ($nodes_raw as $node_raw) { if ((int) $node_raw->sort === 0) { - $links .= base64_encode($user->method . ':' . $user->passwd . '@' . $node_raw->server . ':' . $user->port) . '#' . + $links .= base64_encode($user->method . ':' . $user->passwd . '@' . $node_raw->server . ':' . (int) $node_custom_config['offset_port_user']) . '#' . $node_raw->name . PHP_EOL; } }