Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnyder authored Oct 15, 2021
2 parents e41f9ae + 8203104 commit 8938d48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h1>Update Juncture site</h1>
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]
Expand Down Expand Up @@ -1099,7 +1099,7 @@ <h1>Update Juncture site</h1>
// 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)
Expand Down

0 comments on commit 8938d48

Please sign in to comment.