import type { RequestHandler } from './$types';

export const GET: RequestHandler = () => {
  const body = [
    'User-agent: *',
    'Allow: /',
    '',
    'Sitemap: https://www.goodwalk.co.nz/sitemap.xml'
  ].join('\n');

  return new Response(body, {
    headers: {
      'Content-Type': 'text/plain; charset=utf-8'
    }
  });
};
