Skip to content

Commit

Permalink
Print vhost hostname as URL, for better terminal usability
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Sep 12, 2024
1 parent 0bc2814 commit 9fb1d9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/domain/virtualhost/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
const columns: ListColumns<ResponseItem> = {
id: baseColumns.id,
projectId: { header: "Project ID" },
hostname: {},
hostname: {
get: (r) => `https://${r.hostname}`,
},
paths: {
get: (r) =>
r.paths
Expand Down

0 comments on commit 9fb1d9c

Please sign in to comment.