From a19ba46f7acaae8850a9ae1fc07a2792f9bed510 Mon Sep 17 00:00:00 2001 From: McMatts Date: Fri, 8 Nov 2019 11:11:27 +0000 Subject: [PATCH] Add http scheme for copied links --- gui/app/components/document/page-heading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/app/components/document/page-heading.js b/gui/app/components/document/page-heading.js index 08a1a067..315ea1f8 100644 --- a/gui/app/components/document/page-heading.js +++ b/gui/app/components/document/page-heading.js @@ -79,7 +79,7 @@ export default Component.extend(Notifier, ModalMixin, { this._super(...arguments); let pageId = this.get('page.id'); - let url = this.get('appMeta.appHost') + + let url = window.location.protocol + '//' + this.get('appMeta.appHost') + this.get('router').generate('document.index', {queryParams: {currentPageId: pageId}}); let self = this;