diff --git a/apps/website/app/routes/[sitemap.xml].tsx b/apps/website/app/routes/[sitemap.xml].tsx new file mode 100644 index 00000000..74a2dfb1 --- /dev/null +++ b/apps/website/app/routes/[sitemap.xml].tsx @@ -0,0 +1,20 @@ +export function loader() { + const content = ` + + + https://cuhacking.ca/ + 2024-02-12 + monthly + 1.0 + + + ` + return new Response(content, { + status: 200, + headers: { + 'Content-Type': 'application/xml', + 'xml-version': '1.0', + 'encoding': 'UTF-8', + }, + }) +};