From 820310402996f1843092caabb68f2c7e858fd47f Mon Sep 17 00:00:00 2001 From: Ron Snyder Date: Tue, 5 Oct 2021 21:38:50 -0400 Subject: [PATCH] referrer test --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index faf0d4f5..1a4de28e 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@

Update Juncture site

const referrerUrl = document.referrer if (referrerUrl) { const referrer = parseUrl(referrerUrl) - if (referrer.host === 'github.com' && referrer.pathname.indexOf('/jstor-labs/juncture/wiki') < 0) { + if ((referrer.host === 'github.com' || referrer.host === 'juncture-digital.org') && referrer.pathname.indexOf('/jstor-labs/juncture/wiki') < 0) { const referrerPath = referrer.pathname.slice(1).split('/') const ghAcct = referrerPath[0] const ghRepo = referrerPath[1] @@ -1098,7 +1098,7 @@

Update Juncture site

// logging watchers params (params) { // console.log('params', params) - // Load custom components declared in page markdown + // Load custom compoxnents declared in page markdown params .filter(param => param['ve-component'] !== undefined) .map(param => param.url)