export async function GET() {
const baseUrl = 'https://embroideryviewer.xyz';
const pages = [
'',
'about',
'donate',
'terms-of-service',
'privacy-policy',
'viewer',
];
const urls = pages
.map(
(page) => `
${baseUrl}/${page}
weekly
0.8
`,
)
.join('');
const xml = `
${urls}
`.trim();
return new Response(xml, {
headers: {
'Content-Type': 'application/xml',
},
});
}