diff --git a/scripts/configs.js b/scripts/configs.js index f6e5595bd8..97785908f5 100644 --- a/scripts/configs.js +++ b/scripts/configs.js @@ -10,7 +10,7 @@ const ALLOWED_CONFIGS = ['prod', 'stage', 'dev']; export const calcEnvironment = () => { const { href } = window.location; let environment = 'prod'; - if (href.includes('.hlx.page')) { + if (href.includes('.aem.page')) { environment = 'stage'; } if (href.includes('localhost')) {