mirror of
https://github.com/arthur-pbty/blocnote.git
synced 2026-06-03 15:07:19 +02:00
26 lines
606 B
TypeScript
26 lines
606 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://blocnote.arthurp.fr";
|
|
return [
|
|
{
|
|
url: siteUrl,
|
|
lastModified: new Date(),
|
|
changeFrequency: "weekly",
|
|
priority: 1.0,
|
|
},
|
|
{
|
|
url: `${siteUrl}/mentions-legales`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "yearly",
|
|
priority: 0.3,
|
|
},
|
|
{
|
|
url: `${siteUrl}/confidentialite`,
|
|
lastModified: new Date(),
|
|
changeFrequency: "yearly",
|
|
priority: 0.3,
|
|
},
|
|
];
|
|
}
|