1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Add http scheme for copied links

This commit is contained in:
McMatts 2019-11-08 11:11:27 +00:00
parent ad361c22ba
commit a19ba46f7a

View file

@ -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;