Merge branch 'auth_stuff' into dev_environment

This commit is contained in:
Carter 2025-05-14 12:28:59 -06:00
commit 3b3d83dbf6
2 changed files with 2 additions and 2 deletions

View file

@ -276,7 +276,7 @@ export function getWhitelabel(): WhiteLabel {
if (window.location.origin.includes("bxt-dev")) {
return BXT_WHITE_LABEL;
}
if (window.location.origin.includes("staging")) {
if (window.location.origin.includes("staging") || import.meta.env.VITE_LOCAL_STAGING=='true') {
return STAGING_WHITELABEL;
}
const whiteLabelKeys = Array.from(whitelabels.keys());