diff --git a/app/javascript/application.js b/app/javascript/application.js index 8889609f..a8dcbbaa 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -182,6 +182,8 @@ safeRegisterElement('template-builder', class extends HTMLElement { showTourStartForm: this.dataset.showTourStartForm === 'true' }) + this.app.config.globalProperties.document = document + this.component = this.app.mount(this.appElem) this.appendChild(this.appElem) diff --git a/app/views/shared/_meta.html.erb b/app/views/shared/_meta.html.erb index c6dfe70b..e6e3ded1 100644 --- a/app/views/shared/_meta.html.erb +++ b/app/views/shared/_meta.html.erb @@ -29,5 +29,5 @@ - + diff --git a/config/whitelabel.yml b/config/whitelabel.yml index ce9c2e23..f5209fc0 100644 --- a/config/whitelabel.yml +++ b/config/whitelabel.yml @@ -39,11 +39,11 @@ urls: website: "https://intebec.ca" # Support / contact email - support_email: "support@intebec.ca" + support_email: "contact@intebec.ca" # Privacy policy & terms pages (set to null to hide links) - privacy_policy: "https://intebec.ca/privacy" - terms_of_service: "https://intebec.ca/terms" + privacy_policy: "https://intebec.ca/legal/privacy" + terms_of_service: "https://intebec.ca/legal/terms" # Social handles (set to null to hide) twitter_url: ~