Node.js based forum software built for the modern web
fix sitemap
barisusakli5ae29ef33ab5
diff --git a/src/sitemap.js b/src/sitemap.jsindex 4ee7cfc7f2..10db5e0032 100644--- a/src/sitemap.js+++ b/src/sitemap.js@@ -29,12 +29,12 @@ var path = require('path'),async.parallel([function(next) {var categoryUrls = [];- categories.getVisibleCategories(0, function(err, data) {+ categories.getVisibleCategories(0, function(err, categoriesData) {if (err) {return next(err);}- data.categories.forEach(function(category) {+ categoriesData.forEach(function(category) {categoryUrls.push({url: path.join('/category', category.slug),changefreq: 'weekly',