Merge branch 'tab_title' into staging_environment

This commit is contained in:
Carter 2025-05-14 12:50:43 -06:00
commit 8b96638e18
2 changed files with 3 additions and 6 deletions

View file

@ -37,12 +37,9 @@ function App() {
faviconDocument.href = "BrandXTechnologies/favicon.ico"
})
// Set favicon
// Set title
const titleDocument = document.getElementById("title-id") as HTMLLinkElement;
if (titleDocument) {
console.log(whiteLabel.name)
titleDocument.href = whiteLabel.name;
}
if (titleDocument) titleDocument.title = whiteLabel.name;
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;

View file

@ -70,7 +70,7 @@ interface WhiteLabel {
// };
const STAGING_WHITELABEL: WhiteLabel = {
name: import.meta.env.VITE_APP_WEBSITE_TITLE,
name: "Staging",
primaryColour: import.meta.env.VITE_APP_PRIMARY_COLOUR,
secondaryColour: import.meta.env.VITE_APP_SECONDARY_COLOUR,
signatureColour: import.meta.env.VITE_APP_SIGNATURE_COLOUR,