diff --git a/src/web/main.ts b/src/web/main.ts index 127268d..20bcc12 100644 --- a/src/web/main.ts +++ b/src/web/main.ts @@ -62,6 +62,11 @@ async function render(route: Route): Promise { document.documentElement.style.setProperty('--btn-color', config.color) } + // Set page title from config + if (config.title) { + document.title = config.title + } + // Handle OAuth callback if present (check both ? and #) const searchParams = new URLSearchParams(window.location.search) const hashParams = window.location.hash ? new URLSearchParams(window.location.hash.slice(1)) : null