diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-09-08 01:05:33 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-09-08 01:05:33 -0500 |
| commit | 28b43c43acd7d3250c86bf58ec3aebf7589dd04d (patch) | |
| tree | db480293ca842c5df9ff040356dc7c03fc0e24c6 /next.config.js | |
| parent | bdd8de9829102e3b0e85ded1c197647da1567f5a (diff) | |
Rename DISPLAY_DOMAIN to SITE_DOMAIN for consistency
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 8 |
1 files changed, 4 insertions, 4 deletions
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, |
