Skip to content

Commit

Permalink
Render onion address port too
Browse files Browse the repository at this point in the history
Fixes #4
  • Loading branch information
kzu committed May 19, 2021
1 parent 33222e4 commit 7668765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnet-tor/TorCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ await File.AppendAllLinesAsync(configPath, new[]
{
var config = torConfig.GetSection("tor", service);
var onion = await File.ReadAllTextAsync(hostName, cancellation);
AnsiConsole.MarkupLine($"[yellow]Service {service} ({config.GetString("service")}):[/] [lime]{onion.Trim()}[/]");
AnsiConsole.MarkupLine($"[yellow]Service {service} ({config.GetString("service")}):[/] [lime]{onion.Trim()}:{config.GetNumber("port")}[/]");
}
}

Expand Down

0 comments on commit 7668765

Please sign in to comment.