Update sitemap path

pull/1331/head
Kamran Ahmed 5 years ago
parent 3fc9ffe8b4
commit 4044dbea91
  1. 2
      scripts/sitemap.js

@ -8,7 +8,7 @@ const { getPageRoutes, getGuideRoutes } = require('./path-map');
const DOMAIN = 'https://roadmap.sh'; const DOMAIN = 'https://roadmap.sh';
const PAGES_DIR = path.join(__dirname, '../pages'); const PAGES_DIR = path.join(__dirname, '../pages');
const STORAGE_PATH = path.join(__dirname, '../content'); const STORAGE_PATH = path.join(__dirname, '../content');
const SITEMAP_PATH = 'static/sitemap.xml'; const SITEMAP_PATH = 'public/sitemap.xml';
// Set the header // Set the header
const xmlHeader = `<?xml version="1.0" encoding="UTF-8"?> const xmlHeader = `<?xml version="1.0" encoding="UTF-8"?>

Loading…
Cancel
Save