/[sudobot]/trunk/docs/app/sitemap.ts
ViewVC logotype

Annotation of /trunk/docs/app/sitemap.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 602 - (hide annotations)
Tue Aug 20 09:29:23 2024 UTC (7 months, 1 week ago) by rakinar2
File MIME type: application/typescript
File size: 314 byte(s)
docs: references to broken links

1 rakinar2 575 import urls from "@/sitemap.json";
2     import { MetadataRoute } from "next";
3    
4     export default function Sitemap(): MetadataRoute.Sitemap {
5     return urls.map(url => ({
6 rakinar2 602 url: `https://${process.env.NEXT_PUBLIC_BASE_DOMAIN}${url.loc}`,
7 rakinar2 575 lastModified: url.lastmod,
8     priority: url.priority,
9     }));
10     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26