Files
Jiwon ChoiandGitHub cbb6811171 test: confirm that middleware may affect sitemap.xml render (#69140)
Add test to confirm that the middleware affects the sitemap path if the
matcher is misconfigured.

Following of https://github.com/vercel/next.js/pull/69136
Closes NDX-221
2024-08-22 00:44:58 +09:00

13 lines
249 B
TypeScript

import type { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: 'https://vercel.com',
lastModified: new Date(),
changeFrequency: 'yearly',
priority: 1,
},
]
}