summaryrefslogtreecommitdiffstats
path: root/next-sitemap.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-15 22:14:03 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-15 22:25:12 +0100
commit9eae4703c97c50e82d959a3e0859fe1553889b15 (patch)
tree46605bbd1911ef370cc460d6710ad0ff87782e73 /next-sitemap.js
parent4dc0005999c72b78d195bc05193926328030fe78 (diff)
feat: add HTTP security headers
I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header.
Diffstat (limited to 'next-sitemap.js')
-rw-r--r--next-sitemap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/next-sitemap.js b/next-sitemap.js
index 9f7346d..c9cd443 100644
--- a/next-sitemap.js
+++ b/next-sitemap.js
@@ -1,7 +1,7 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
- siteUrl: process.env.NEXT_PUBLIC_FRONTEND_URL,
+ siteUrl: `${process.env.NEXT_PUBLIC_APP_PROTOCOL}://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,
generateRobotsTxt: true,
changefreq: null,
priority: null,