const ROOT_URL = process.env.NEXT_PUBLIC_URL || (process.env.VERCEL_URL && `https://${process.env.VERCEL_URL}`) || "http://localhost:3000"; /** * MiniApp configuration object. Must follow the mini app manifest specification. * * @see {@link https://docs.base.org/mini-apps/features/manifest} */ export const minikitConfig = { accountAssociation: { header: "", payload: "", signature: "", }, baseBuilder: { ownerAddress: "", }, miniapp: { version: "1", name: "APP_NAME", subtitle: "", description: "", screenshotUrls: [], iconUrl: `${ROOT_URL}/icon.png`, splashImageUrl: `${ROOT_URL}/splash.png`, splashBackgroundColor: "#000000", homeUrl: ROOT_URL, webhookUrl: `${ROOT_URL}/api/webhook`, primaryCategory: "utility", tags: ["example"], heroImageUrl: `${ROOT_URL}/hero.png`, tagline: "", ogTitle: "", ogDescription: "", ogImageUrl: `${ROOT_URL}/hero.png`, }, } as const;