2026-06-23 20:36:07 -04:00
|
|
|
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
|
2026-07-02 13:42:34 -04:00
|
|
|
Disallow: /tenant-portal/
|
2026-06-23 20:36:07 -04:00
|
|
|
Disallow: /api/
|
|
|
|
|
|
|
|
|
|
Sitemap: ${appUrl}/sitemap.xml`
|
|
|
|
|
|
|
|
|
|
return new Response(body, {
|
|
|
|
|
headers: { "Content-Type": "text/plain" },
|
|
|
|
|
})
|
|
|
|
|
}
|