diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-06-07 18:06:20 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-06-07 18:06:20 +0200 |
| commit | 43bddd9506d790ad6707fe71f28a4ecfa635c8f1 (patch) | |
| tree | 190ef6d05d685af1de767f2b68587bac4d7db929 /next-sitemap.js | |
| parent | a640a5dee88f82398111142d6a4ca089bf0924cb (diff) | |
build(sitemap): rename next-sitemap config file
Diffstat (limited to 'next-sitemap.js')
| -rw-r--r-- | next-sitemap.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/next-sitemap.js b/next-sitemap.js deleted file mode 100644 index 348ea0b..0000000 --- a/next-sitemap.js +++ /dev/null @@ -1,13 +0,0 @@ -/** @type {import('next-sitemap').IConfig} */ - -const isStaging = process.env.APP_ENV === 'staging'; - -module.exports = { - siteUrl: isStaging - ? process.env.NEXT_PUBLIC_STAGING_APP_URL - : process.env.NEXT_PUBLIC_APP_URL, - generateRobotsTxt: true, - changefreq: null, - priority: null, - exclude: ['/feed.xml', '/feed.json', '/atom.xml'], -}; |
