Skip to content

Commit 7d09af1

Browse files
committed
fix: wrong host name for sourcehut
Signed-off-by: leo <longshuang@msn.cn>
1 parent 3ced2b7 commit 7d09af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/CommitLink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static List<CommitLink> Get(List<Remote> remotes)
4141
outs.Add(new($"Codeberg ({route})", $"{link}/commit/"));
4242
else if (host.Equals("gitea.org", StringComparison.Ordinal))
4343
outs.Add(new($"Gitea ({route})", $"{link}/commit/"));
44-
else if (host.Equals("github.com", StringComparison.Ordinal))
44+
else if (host.Equals("git.sr.ht", StringComparison.Ordinal))
4545
outs.Add(new($"sourcehut ({route})", $"{link}/commit/"));
4646
}
4747
}

0 commit comments

Comments
 (0)