summaryrefslogtreecommitdiff
path: root/src/pages/sitemap/categories.xml.js
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-13 15:48:26 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-13 15:48:26 +0700
commita19ab70ca8f3f20c845ddeed0a5281d2abc29f03 (patch)
tree924a07d04b5424d86f94ad4935b47cba4643b955 /src/pages/sitemap/categories.xml.js
parent31a0644d72475279b16cd646ab5d2f60facc0b24 (diff)
<Miqdad> update robots & last mod
Diffstat (limited to 'src/pages/sitemap/categories.xml.js')
-rw-r--r--src/pages/sitemap/categories.xml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/sitemap/categories.xml.js b/src/pages/sitemap/categories.xml.js
index 357a2072..61fe42d1 100644
--- a/src/pages/sitemap/categories.xml.js
+++ b/src/pages/sitemap/categories.xml.js
@@ -28,8 +28,8 @@ export async function getServerSideProps({ res }) {
function addUrlToSitemap(sitemap, name, id) {
const baseUrl = process.env.SELF_HOST + '/shop/category/';
- // const date = new Date()
- const date = '2025-10-30';
+ const date = new Date();
+ // const date = '2025-10-30';
const url = sitemap.ele('url');
url.ele('loc', createSlug(baseUrl, name, id));
url.ele('lastmod', date);