svrjs-nextjs-website/app/sitemap.ts

21 lines
357 B
TypeScript
Raw Normal View History

2024-07-28 17:20:53 +02:00
export default async function sitemap() {
let routes = [
"",
"/blog",
"/changelogs",
"/contact",
"/contribute",
"/downloads",
"/forum",
"/mods",
"/privacy-policy",
"/tos",
"/vulnerabilities",
].map((route) => ({
url: `https://vimfn.in${route}`,
lastModified: new Date().toISOString().split("T")[0],
}));
return [...routes];
}