mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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
13 lines
249 B
TypeScript
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,
|
|
},
|
|
]
|
|
}
|