export async function GET() { const appUrl = process.env.NEXT_PUBLIC_APP_URL ?? "https://propertymanagement.network" const body = `User-agent: * Allow: / Disallow: /dashboard Disallow: /properties Disallow: /tenants Disallow: /rent Disallow: /maintenance Disallow: /leases Disallow: /expenses Disallow: /settings Disallow: /tenant-portal/ Disallow: /api/ Sitemap: ${appUrl}/sitemap.xml` return new Response(body, { headers: { "Content-Type": "text/plain" }, }) }