From 7f57a0bebdd68027277417529ea33d9ecc685f4c Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 18 Jan 2026 19:58:38 +0900 Subject: [PATCH] fix title --- src/web/main.ts | 5 +++++ 1 file changed, 5 insertions(+) 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