replacing title instead of href
This commit is contained in:
parent
19c741a5f8
commit
188a2f2023
1 changed files with 2 additions and 5 deletions
|
|
@ -37,12 +37,9 @@ function App() {
|
||||||
faviconDocument.href = "BrandXTechnologies/favicon.ico"
|
faviconDocument.href = "BrandXTechnologies/favicon.ico"
|
||||||
})
|
})
|
||||||
|
|
||||||
// Set favicon
|
// Set title
|
||||||
const titleDocument = document.getElementById("title-id") as HTMLLinkElement;
|
const titleDocument = document.getElementById("title-id") as HTMLLinkElement;
|
||||||
if (titleDocument) {
|
if (titleDocument) titleDocument.title = whiteLabel.name;
|
||||||
console.log(whiteLabel.name)
|
|
||||||
titleDocument.href = whiteLabel.name;
|
|
||||||
}
|
|
||||||
|
|
||||||
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
|
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
|
||||||
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;
|
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue