Fix OAuth page: system monospace font, proper sizing, rebrand headings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Advait Paliwal
2026-03-23 23:46:17 -07:00
parent 82790506d3
commit d1ead853d7
4 changed files with 7 additions and 4 deletions

View File

@@ -367,6 +367,9 @@ if (oauthPagePath && existsSync(oauthPagePath)) {
if (source.includes(piLogo)) {
const feynmanLogo = `const LOGO_SVG = \`${FEYNMAN_LOGO_HTML}\`;`;
source = source.replace(piLogo, feynmanLogo);
source = source.replaceAll("Authentication successful", "Logged in");
source = source.replaceAll("Authentication failed", "Login failed");
source = source.replace("You can close this window.", "You can close this tab.");
writeFileSync(oauthPagePath, source, "utf8");
}
}