33 lines
690 B
TypeScript
33 lines
690 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
const BASE_URL = "https://wikirush.xyz";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
return [
|
|
{
|
|
url: BASE_URL,
|
|
lastModified: new Date(),
|
|
changeFrequency: "weekly",
|
|
priority: 1,
|
|
},
|
|
{
|
|
url: `${BASE_URL}/about`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "monthly",
|
|
priority: 0.5,
|
|
},
|
|
{
|
|
url: `${BASE_URL}/privacy`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "monthly",
|
|
priority: 0.3,
|
|
},
|
|
{
|
|
url: `${BASE_URL}/mentions-legales`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "monthly",
|
|
priority: 0.3,
|
|
},
|
|
];
|
|
}
|