replacing title by id based on whiteLabel name

This commit is contained in:
Carter 2025-05-14 12:41:31 -06:00
parent 3b3d83dbf6
commit 19c741a5f8
2 changed files with 8 additions and 1 deletions

View file

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