Custom app launcher, browser home page, and service monitor. cute.haus
homelab react typescript
0

Configure Feed

Select the types of activity you want to include in your feed.

add checkUrl option

Aly Raffauf (May 13, 2026, 9:19 PM EDT) d92d08f5 87ec0e56

+11 -4
+1 -1
src/data/apps.ts
··· 28 28 }, 29 29 { 30 30 name: "Navidrome", 31 - url: "https://navidrome.cute.haus/", 31 + url: "https://navidrome.narwhal-snapper.ts.net", 32 32 icon: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/navidrome.png", 33 33 }, 34 34 {
+4 -2
src/index.ts
··· 88 88 return fetchIcon(new URL("/favicon.ico", siteOrigin).toString()); 89 89 } 90 90 91 - async function checkStatuses(items: { name: string; url: string }[]) { 91 + async function checkStatuses( 92 + items: { name: string; url: string; healthUrl?: string }[], 93 + ) { 92 94 const results = await Promise.all( 93 95 items.map(async (item) => { 94 96 try { 95 - const response = await fetch(item.url, { 97 + const response = await fetch(item.healthUrl ?? item.url, { 96 98 method: "HEAD", 97 99 signal: AbortSignal.timeout(3000), 98 100 });
+6 -1
src/types.ts
··· 1 - export type Service = { name: string; url: string; icon?: string }; 1 + export type Service = { 2 + name: string; 3 + url: string; 4 + icon?: string; 5 + healthUrl?: string; 6 + };