fediversion/frontend/app/sitemap.ts
fullsizemalt 762d2b81ff
Some checks failed
Deploy Fediversion / deploy (push) Failing after 1s
feat: Add MSI, SCI, Disco Biscuits importers + refactor About page to be band-agnostic
2025-12-28 22:36:52 -08:00

22 lines
510 B
TypeScript

import { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://fediversion.runfoo.run'
const routes = [
'',
'/shows',
'/songs',
'/venues',
'/videos',
'/stats',
'/shows/upcoming',
].map((route) => ({
url: `${baseUrl}${route}`,
lastModified: new Date(),
changeFrequency: 'daily' as const,
priority: route === '' ? 1 : 0.8,
}))
return routes
}