From 9eae4703c97c50e82d959a3e0859fe1553889b15 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 15 Feb 2022 22:14:03 +0100 Subject: 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. --- next-sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'next-sitemap.js') 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, -- cgit v1.2.3