Skip to content

Let's use AI to Earn!

feat(站点地图): 站点地图添加额外url页面

gaoSirfd48aafde7b1
diff --git a/next-sitemap.config.js b/next-sitemap.config.js
index 7b0b688d..b777c7d5 100644
--- a/next-sitemap.config.js
+++ b/next-sitemap.config.js
@@ -55,6 +55,19 @@ module.exports = {
}
}
+ // 添加额外的静态页面
+ const extraRoute = [
+ "https://blog.aitoearn.ai/",
+ "https://docs.aitoearn.ai/",
+ ];
+ for (const url of extraRoute) {
+ result.push({
+ loc: url,
+ changefreq: "daily",
+ priority: 0.7,
+ });
+ }
+
return result;
},
};