Skip to content

Commit

Permalink
Add force-static flag to sitemap, plus update it
Browse files Browse the repository at this point in the history
  • Loading branch information
archey347 committed Jan 9, 2025
1 parent d4cc2db commit 1276fc3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { MetadataRoute } from 'next'


export const dynamic = 'force-static'

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: 'https://wwlrc.co.uk.com',
url: 'https://wwlrc.co.uk',
lastModified: new Date(),
changeFrequency: 'daily',
priority: 1,
Expand All @@ -20,5 +22,17 @@ export default function sitemap(): MetadataRoute.Sitemap {
changeFrequency: 'weekly',
priority: 0.5,
},
{
url: 'https://wwlrc.co.uk/sponsors',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.5,
},
{
url: 'https://spanner.wwlrc.co.uk/account/sign-in',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.5,
},
]
}

0 comments on commit 1276fc3

Please sign in to comment.