import { absoluteUrl } from '../lib/seo';

export function GET() {
  return new Response(`User-agent: *
Allow: /

Sitemap: ${absoluteUrl('/sitemap.xml')}
`, {
    headers: {
      'Content-Type': 'text/plain; charset=utf-8',
      'Cache-Control': 'public, max-age=3600'
    }
  });
}
