diff --git a/index.html b/index.html index da05f1e..31b4ca1 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Adaptive Dashboard + Adaptive Dashboard diff --git a/src/app/App.tsx b/src/app/App.tsx index 46e7121..efd014b 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -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;