Change sitemap priority from number to string

This commit is contained in:
2022-10-03 11:07:33 +02:00
parent 23bad3fe76
commit 47afe8e4fa

View File

@@ -27,14 +27,14 @@ export const GET: RequestHandler = async ({ url, setHeaders }) => {
// Static pages // Static pages
const pages = [ const pages = [
['/', 1.0, 'daily'], ['/', '1.0', 'daily'],
['/photos', 1.0, 'daily'], ['/photos', '1.0', 'daily'],
['/locations', 0.6, 'weekly'], ['/locations', '0.6', 'weekly'],
['/shop', 0.8, 'weekly'], ['/shop', '0.8', 'weekly'],
['/about', 0.6, 'weekly'], ['/about', '0.6', 'weekly'],
['/terms', 0.6, 'weekly'], ['/terms', '0.6', 'weekly'],
['/subscribe', 0.6, 'weekly'], ['/subscribe', '0.6', 'weekly'],
['/credits', 0.6, 'monthly'], ['/credits', '0.6', 'monthly'],
] ]
// All pages // All pages