From 67178df662dc5b729cd27837d3e44f235df76665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 23 Jan 2019 20:49:11 +0100 Subject: [PATCH] Use origin to generate the addressbook url MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- src/components/Settings/SettingsAddressbook.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/SettingsAddressbook.vue b/src/components/Settings/SettingsAddressbook.vue index 991ffcdad..5310209bf 100644 --- a/src/components/Settings/SettingsAddressbook.vue +++ b/src/components/Settings/SettingsAddressbook.vue @@ -243,7 +243,7 @@ export default { event.stopPropagation() // copy link for addressbook to clipboard - this.$copyText(this.addressbook.url) + this.$copyText(window.location.origin + this.addressbook.url) .then(e => { event.preventDefault() this.copySuccess = true