mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-03 18:21:20 +00:00
feat: Generate sitemap.xml
This commit is contained in:
parent
59e9e608a5
commit
64179b81cc
1 changed files with 11 additions and 0 deletions
11
app/sitemap.ts
Normal file
11
app/sitemap.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { MetadataRoute } from 'next'
|
||||
import { metadata } from './layout'
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
{
|
||||
url: `${metadata.metadataBase}`,
|
||||
lastModified: new Date(),
|
||||
},
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue