diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b8a44..705851c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - **Organization context switch.** Switching away from a deleted organization now stores the session correctly instead of using an insecure fallback. - **Removed debug logs.** Auth and organization-switching details no longer leak into the browser console in production. Error logs are now also suppressed in production and only appear during development. - **Dark mode uptime chart.** The response time chart on the uptime page now correctly follows your dark mode preference instead of always showing a white tooltip background. +- **Onboarding form limits.** The welcome page now enforces the same character limits as the rest of the app. ## [0.10.0-alpha] - 2026-02-21 diff --git a/app/share/[id]/layout.tsx b/app/share/[id]/layout.tsx index 0071b2d..60de8ee 100644 --- a/app/share/[id]/layout.tsx +++ b/app/share/[id]/layout.tsx @@ -1,4 +1,5 @@ import type { Metadata } from 'next' +import { FAVICON_SERVICE_URL } from '@/lib/utils/icons' const API_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8082' @@ -46,7 +47,7 @@ export async function generateMetadata({ params }: SharePageParams): Promise { @@ -286,7 +287,7 @@ export default function PublicDashboardPage() {

{site.name} @@ -36,7 +37,7 @@ function SiteCard({ site, stats, statsLoading, onDelete, canDelete }: SiteCardPr
{site.name}&sz=` to get a favicon. + */ +export const FAVICON_SERVICE_URL = 'https://www.google.com/s2/favicons' import { FaChrome, FaFirefox, @@ -197,7 +203,7 @@ export function getReferrerFavicon(referrer: string): string | null { try { const url = new URL(referrer.startsWith('http') ? referrer : `https://${referrer}`) if (REFERRER_USE_X_ICON.has(url.hostname.toLowerCase())) return null - return `https://www.google.com/s2/favicons?domain=${url.hostname}&sz=32` + return `${FAVICON_SERVICE_URL}?domain=${url.hostname}&sz=32` } catch { return null }