env update

This commit is contained in:
Owen Rees
2023-06-13 10:47:55 +02:00
parent f484465205
commit db266e6ef3
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
NEXT_PUBLIC_URL=https://${VERCEL_URL}
NEXT_PUBLIC_URL=https://$NEXT_PUBLIC_VERCEL_URL
+3
View File
@@ -1,4 +1,7 @@
/** @type {import('next').NextConfig} */
const dotenvExpand = require("dotenv-expand");
dotenvExpand.expand({ parsed: { ...process.env } });
const nextConfig = {};
module.exports = nextConfig;
+9
View File
@@ -12,6 +12,7 @@
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"autoprefixer": "10.4.14",
"dotenv-expand": "^10.0.0",
"eslint": "8.41.0",
"eslint-config-next": "13.4.3",
"leaflet": "^1.9.4",
@@ -3519,6 +3520,14 @@
"node": ">=12"
}
},
"node_modules/dotenv-expand": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz",
"integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==",
"engines": {
"node": ">=12"
}
},
"node_modules/ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
+1
View File
@@ -17,6 +17,7 @@
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"autoprefixer": "10.4.14",
"dotenv-expand": "^10.0.0",
"eslint": "8.41.0",
"eslint-config-next": "13.4.3",
"leaflet": "^1.9.4",