From 8bf81ed018dfd89b30f887c09689442881bb4872 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 4 May 2023 14:08:38 +0700 Subject: fixing sitemap --- src/pages/sitemap/brands.xml.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/pages/sitemap/brands.xml.js') diff --git a/src/pages/sitemap/brands.xml.js b/src/pages/sitemap/brands.xml.js index bfd21dba..c85c40e9 100644 --- a/src/pages/sitemap/brands.xml.js +++ b/src/pages/sitemap/brands.xml.js @@ -1,6 +1,4 @@ -import productSearchApi from '@/lib/product/api/productSearchApi' import { create } from 'xmlbuilder' -import _ from 'lodash-contrib' import { createSlug } from '@/core/utils/slug' import odooApi from '@/core/api/odooApi' @@ -18,7 +16,7 @@ export async function getServerSideProps({ res }) { 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.8') + url.ele('priority', '0.6') }) res.setHeader('Content-Type', 'text/xml') -- cgit v1.2.3