From 7a6357b97f038b6624bf47119935024f0c339968 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Fri, 8 Sep 2023 01:05:33 -0500 Subject: Rename DISPLAY_DOMAIN to SITE_DOMAIN for consistency --- next.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js index 0d49eb4..05e4425 100644 --- a/next.config.js +++ b/next.config.js @@ -1,11 +1,11 @@ const path = require('path'); const { withMarkdownLoader } = require('./plugins'); -const DISPLAY_DOMAIN = process.env.DISPLAY_DOMAIN; +const SITE_DOMAIN = process.env.SITE_DOMAIN; -if(!DISPLAY_DOMAIN) throw Error("Please define a display domain"); +if(!SITE_DOMAIN) throw Error("Please define a display domain"); -const exportDir = `export/${DISPLAY_DOMAIN}`; +const exportDir = `export/${SITE_DOMAIN}`; module.exports = () => { const plugins = [ @@ -20,7 +20,7 @@ module.exports = () => { includePaths: [path.join(__dirname, 'styles')] }, env: { - DISPLAY_DOMAIN: DISPLAY_DOMAIN, + SITE_DOMAIN: SITE_DOMAIN, }, output: 'export', distDir: exportDir, -- cgit v1.2.3