diff --git a/src/buildSitemap.js b/src/buildSitemap.js index 56410c6..7d4918c 100644 --- a/src/buildSitemap.js +++ b/src/buildSitemap.js @@ -29,7 +29,7 @@ const municipalitiesSort = () => { return sortedMunicipalities; }; -const homepage = `https://gocemitevski.github.io/sredni-ucilista-mk/?`; +const homepage = `https://gocemitevski.github.io/sredni-ucilista-mk`; const sitemap = data.uchilishta.map(item => `${homepage}/uchilishte/${encodeURIComponent(cleanName(transliterate(item.ime + ' ' + item.opstina)).toLowerCase())}`); municipalitiesSort().map(item => sitemap.push(`${homepage}/opshtina/${encodeURIComponent(cleanName(transliterate(item[0])).toLowerCase())}`)); console.log(`${sitemap.map(el => `${el}`).join('')}`);