condition env variables for host

This commit is contained in:
Owen Rees
2023-06-13 09:11:16 +02:00
parent bd60205fb0
commit 5f1270a138
3 changed files with 16 additions and 20 deletions
+6 -2
View File
@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
env: {
SERVER: process.env.SERVER,
},
};
module.exports = nextConfig
module.exports = nextConfig;