replacing title by id based on whiteLabel name
This commit is contained in:
parent
3b3d83dbf6
commit
19c741a5f8
2 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue