Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension/utils.js
Original file line number Diff line number Diff line change
@@ -95,11 +95,12 @@ export function getConfigMatches(configs, tabUrl) {
ref,
host,
mountpoints,
hlx3,
} = config;
const match = checkHost === 'localhost:3000' // local development
|| (host && checkHost === host) // production host
|| checkHost === `${ref}--${repo}--${owner}.hlx.live` // outer CDN
|| checkHost === `${ref}--${repo}--${owner}.hlx3.page` // inner CDN
|| checkHost === `${ref}--${repo}--${owner}.hlx${hlx3 ? '3' : ''}.page` // inner CDN
|| mountpoints // editor
.map((mp) => {
const mpUrl = new URL(mp);

0 comments on commit 077ddae

Please sign in to comment.