Merge branch 'auth_stuff' into dev_environment
This commit is contained in:
commit
3b3d83dbf6
2 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue