summaryrefslogtreecommitdiff
path: root/src/pages/sitemap
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-09-06 16:30:09 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-09-06 16:30:09 +0700
commite0cb6bc2d391288462f7f3600cc74a603d9323df (patch)
tree13a32ce0e78edf2fb5134b926a91dfb79e15172f /src/pages/sitemap
parent277f7eea312492c66ec8d942199dba65593e78b8 (diff)
parent969ca83a9adce96b3b58973654b29d3c2dd47a88 (diff)
Merge branch 'release' into CR/search_enggine
Diffstat (limited to 'src/pages/sitemap')
-rw-r--r--src/pages/sitemap/brands.xml.js4
-rw-r--r--src/pages/sitemap/products/[page].js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/sitemap/brands.xml.js b/src/pages/sitemap/brands.xml.js
index c85c40e9..65a84e97 100644
--- a/src/pages/sitemap/brands.xml.js
+++ b/src/pages/sitemap/brands.xml.js
@@ -15,8 +15,8 @@ export async function getServerSideProps({ res }) {
const url = sitemap.ele('url')
url.ele('loc', createSlug(baseUrl, brand.name, brand.id))
url.ele('lastmod', date.toISOString().slice(0, 10))
- url.ele('changefreq', 'weekly')
- url.ele('priority', '0.6')
+ url.ele('changefreq', 'daily')
+ url.ele('priority', '1.0')
})
res.setHeader('Content-Type', 'text/xml')
diff --git a/src/pages/sitemap/products/[page].js b/src/pages/sitemap/products/[page].js
index 2f9c3198..e39755d6 100644
--- a/src/pages/sitemap/products/[page].js
+++ b/src/pages/sitemap/products/[page].js
@@ -19,7 +19,7 @@ export async function getServerSideProps({ query, res }) {
const url = sitemap.ele('url')
url.ele('loc', createSlug(baseUrl, product.name, product.id))
url.ele('lastmod', date.toISOString().slice(0, 10))
- url.ele('changefreq', 'weekly')
+ url.ele('changefreq', 'daily')
url.ele('priority', '0.8')
})