setting favicon based on whiteLabel
This commit is contained in:
parent
22a892fa7b
commit
aa4106806e
10 changed files with 12 additions and 74 deletions
|
|
@ -24,6 +24,12 @@ function App() {
|
|||
}
|
||||
})
|
||||
|
||||
// Set favicon
|
||||
const faviconDocument = document.getElementById("favicon-link") as HTMLLinkElement;
|
||||
if (faviconDocument) {
|
||||
faviconDocument.href = `${whiteLabel.name.replace(/\s/g, "")}/favicon.ico`;
|
||||
}
|
||||
|
||||
let url: 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