forked from growthepie/gtp-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext-sitemap.config.js
57 lines (54 loc) · 1.18 KB
/
next-sitemap.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
const baseUrl = "https://www.growthepie.xyz";
// for www.growthepie.xyz & dev.growthepie.xyz
const gtpMain = {
siteUrl: "https://www.growthepie.xyz",
generateRobotsTxt: true,
exclude: [
"/server-sitemap.xml",
"/blog",
"/api/*",
"/embed/*",
"/embed",
"/trackers/*",
"/blockspace/*",
"/fees",
"/helpers",
"/fees-explainer",
"/contracts",
"/economics",
"/scroll",
],
robotsTxtOptions: {
exclude: ["/server-sitemap.xml"],
additionalSitemaps: [`https://www.growthepie.xyz/server-sitemap.xml`],
},
};
// for fees.growthepie.xyz & dev.fees.growthepie.xyz
const gtpFees = {
siteUrl: "https://fees.growthepie.xyz",
generateRobotsTxt: true,
exclude: [
"/blog",
"/api/*",
"/embed/*",
"/embed",
"/trackers/*",
"/blockspace/*",
"/fees",
"/contracts",
"/contributors",
"/imprint",
"/privacy-policy",
"/server-sitemap.xml",
"/helpers",
"/fees-explainer",
"/contracts",
"/economics",
"/scroll",
],
robotsTxtOptions: {
exclude: ["/server-sitemap.xml"],
},
};
/** @type {import('next-sitemap').IConfig} */
module.exports = baseUrl.includes("fees.") ? gtpFees : gtpMain;