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:
parent
8a47628fe1
commit
4a8d976cb4
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user