From 05673e670c2f47e3bc7289de79fb792b90a4c127 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 6 Jun 2016 12:38:28 -0400 Subject: [PATCH] fixes rare "priority error" when generating sitemaps --- src/sitemap.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/sitemap.js b/src/sitemap.js index 812ba9fe53..acda852ae9 100644 --- a/src/sitemap.js +++ b/src/sitemap.js @@ -56,19 +56,19 @@ sitemap.getPages = function(callback) { var urls = [{ url: '', changefreq: 'weekly', - priority: '0.6' + priority: 0.6 }, { url: '/recent', changefreq: 'daily', - priority: '0.4' + priority: 0.4 }, { url: '/users', changefreq: 'daily', - priority: '0.4' + priority: 0.4 }, { url: '/groups', changefreq: 'daily', - priority: '0.4' + priority: 0.4 }]; sitemap.maps.pages = sm.createSitemap({ @@ -99,7 +99,7 @@ sitemap.getCategories = function(callback) { categoryUrls.push({ url: '/category/' + category.slug, changefreq: 'weekly', - priority: '0.4' + priority: 0.4 }); } }); @@ -153,7 +153,7 @@ sitemap.getTopicPage = function(page, callback) { url: '/topic/' + topic.slug, lastmodISO: utils.toISOString(topic.lastposttime), changefreq: 'daily', - priority: '0.6' + priority: 0.6 }); } });