diff --git a/lib/app.js b/lib/app.js index 316157d..441a6f2 100644 --- a/lib/app.js +++ b/lib/app.js @@ -673,7 +673,7 @@ module.exports = class FritterApp { } copyProfileUrl () { - var profileUrl = document.getElementById('profile-url') + var profileUrl = `${window.location.origin}/user/${document.getElementById('profile-url').replace('dat://','')}` profileUrl.select() document.execCommand('copy') }