summaryrefslogtreecommitdiffstats
path: root/next-sitemap.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-13 18:46:38 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-13 19:12:28 +0100
commitd7df049ef40d4028ac5616f8bbe366d1476404de (patch)
treefccf00f215652edfdf944e470c83772922b39d20 /next-sitemap.js
parent43f1fc3ce52e6ddd397853964c8868f2f4eee41d (diff)
feat: add a sitemap
Diffstat (limited to 'next-sitemap.js')
-rw-r--r--next-sitemap.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/next-sitemap.js b/next-sitemap.js
new file mode 100644
index 0000000..9f7346d
--- /dev/null
+++ b/next-sitemap.js
@@ -0,0 +1,9 @@
+/** @type {import('next-sitemap').IConfig} */
+
+module.exports = {
+ siteUrl: process.env.NEXT_PUBLIC_FRONTEND_URL,
+ generateRobotsTxt: true,
+ changefreq: null,
+ priority: null,
+ exclude: ['/feed.xml', '/feed.json', '/atom.xml'],
+};