Remove hardcoded website url

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Joseph Madamba 2023-05-21 10:35:22 -07:00 committed by GitHub
parent 8aefb62532
commit 88c112612f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ namespace osu.Game.Overlays.News.Sidebar
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
AddLink(post.Title, LinkAction.External, "https://osu.ppy.sh/home/news/" + post.Slug, "view in browser");
AddLink(post.Title, LinkAction.External, @"/home/news/" + post.Slug, "view in browser");
}
}