svrjs-nextjs-website/app/sitemap.ts
Cypro Freelance dadc9be57e openg pt2
2024-07-28 20:50:53 +05:30

20 lines
357 B
TypeScript

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];
}