From b0bc84095fdaf7766ad4af8df434f4b5d2161fc3 Mon Sep 17 00:00:00 2001 From: QuackieMackie Date: Sun, 21 Sep 2025 14:01:29 +0100 Subject: [PATCH] Feature: Added a config option for the favicon. --- pages/incidents.tsx | 2 +- pages/index.tsx | 2 +- types/config.ts | 1 + uptime.config.ts | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/incidents.tsx b/pages/incidents.tsx index 98f3fb6..8dfb0ba 100644 --- a/pages/incidents.tsx +++ b/pages/incidents.tsx @@ -81,7 +81,7 @@ export default function IncidentsPage() { <> {pageConfig.title} - +
diff --git a/pages/index.tsx b/pages/index.tsx index be84a96..e33a3f8 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -46,7 +46,7 @@ export default function Home({ <> {pageConfig.title} - +
diff --git a/types/config.ts b/types/config.ts index 5b954cd..cbb85a4 100644 --- a/types/config.ts +++ b/types/config.ts @@ -4,6 +4,7 @@ export type PageConfig = { title?: string links?: PageConfigLink[] group?: PageConfigGroup + favicon?: string maintenances?: { upcomingColor?: string | null } diff --git a/uptime.config.ts b/uptime.config.ts index 63ab017..24775c1 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -16,6 +16,8 @@ const pageConfig: PageConfig = { '🌐 Public (example group name)': ['foo_monitor', 'bar_monitor', 'more monitor ids...'], '🔐 Private': ['test_tcp_monitor'], }, + // Set the path to your favicon, default to '/favicon.ico' if not specified + favicon: '/favicon.ico', // [OPTIONAL] Maintenance style maintenances: { // If not specified all upcoming maintenance alerts will default to "gray",