Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sirugh authored Sep 16, 2024
2 parents 90bd0b6 + 40fe81e commit 99f2532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 99f2532

Please sign in to comment.