added manifest for staging, title actually gets set based on whiteLabel name now

This commit is contained in:
Carter 2025-05-14 13:50:01 -06:00
parent ad10fc0d66
commit 4bd66d3d24
11 changed files with 2236 additions and 2 deletions

View file

@ -38,8 +38,9 @@ function App() {
})
// Set title
const titleDocument = document.getElementById("title-id") as HTMLLinkElement;
if (titleDocument) titleDocument.title = whiteLabel.name;
const titleElement = document.getElementById("title-id") as HTMLElement;
if (titleElement) titleElement.textContent = whiteLabel.name;
let domain: string | undefined = import.meta.env.VITE_AUTH0_CLIENT_DOMAIN;
let audience: string | undefined = import.meta.env.VITE_AUTH0_AUDIENCE;