import type { MetadataRoute } from "next"; import { getDynamicSiteIconUrls } from "@/lib/site-icons"; export const dynamic = "force-dynamic"; export const revalidate = 0; export default async function manifest(): Promise { const iconUrls = await getDynamicSiteIconUrls(); return { name: iconUrls.siteName, short_name: iconUrls.siteName, icons: [ { src: iconUrls.appleIconHref, sizes: "180x180", type: "image/png", }, { src: iconUrls.faviconHref, sizes: "32x32", type: "image/x-icon", }, ], display: "standalone", background_color: "#ffffff", theme_color: "#111827", }; }