We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d711343 commit 17c5797Copy full SHA for 17c5797
tasks/generate-sitemap.mjs
@@ -15,7 +15,11 @@ const SITEMAP_DOMAIN = process.env.SITEMAP_DOMAIN
15
const ROOT_PATH = './client/www/next-build';
16
17
const formatDate = (date) => date.toISOString();
18
-const getPriority = () => 0.5;
+const getPriority = (urlPath) => {
19
+ // significance to search engine crawlers, potentially improving SEO ranking
20
+ //More prirority for gen2 urls to show more importance to the crawlers.
21
+ return urlPath.includes("gen1") ? 0.5 : 1.0;
22
+};
23
24
const PLATFORMS = [
25
'android',
0 commit comments