import { NextResponse } from "next/server"; /** * PWA manifest. Served from `/manifest.webmanifest` so the document * `` (set up via * Next's metadata API in layout.tsx) can find it. * * `purpose: "any maskable"` lets the same icon work for both regular * launch icons and Android maskable icons (where the OS crops the * icon to a system-defined shape). `display: "standalone"` removes * the browser chrome when launched from the home screen. */ export function GET() { return NextResponse.json({ name: "cm WhatsApp Bot", short_name: "cm WA Bot", description: "Self-hosted WhatsApp reminder bot", start_url: "/", scope: "/", display: "standalone", orientation: "portrait", background_color: "#0a0a0a", theme_color: "#0a0a0a", icons: [ { src: "/icon-192.png", sizes: "192x192", type: "image/png", purpose: "any maskable" }, { src: "/icon-512.png", sizes: "512x512", type: "image/png", purpose: "any maskable" }, ], }); }