1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 14:23:14 +08:00

Use api's endpoint

This commit is contained in:
ansel 2022-10-16 20:20:34 +03:00
parent 8a47628fe1
commit 4a8d976cb4

View File

@ -415,7 +415,7 @@ namespace osu.Game.Overlays.Comments
private void copyUrl() private void copyUrl()
{ {
host.GetClipboard()?.SetText($@"https://osu.ppy.sh/comments/{Comment.Id}"); host.GetClipboard()?.SetText($@"{api.APIEndpointUrl}/comments/{Comment.Id}");
onScreenDisplay?.Display(new CopyUrlToast()); onScreenDisplay?.Display(new CopyUrlToast());
} }