Include env var in exports
This commit is contained in:
parent
f8f40d08b8
commit
7e0a240911
|
|
@ -4,6 +4,7 @@ module.exports = {
|
||||||
HEP_URL: JSON.stringify(process.env.HEP_URL),
|
HEP_URL: JSON.stringify(process.env.HEP_URL),
|
||||||
MATOMO_HOST: JSON.stringify(process.env.MATOMO_HOST),
|
MATOMO_HOST: JSON.stringify(process.env.MATOMO_HOST),
|
||||||
MATOMO_SITE_ID: JSON.stringify(process.env.MATOMO_SITE_ID),
|
MATOMO_SITE_ID: JSON.stringify(process.env.MATOMO_SITE_ID),
|
||||||
|
LOGOUT_REDIRECT_URL: JSON.stringify(process.env.LOGOUT_REDIRECT_URL),
|
||||||
/*
|
/*
|
||||||
* ENV variables used in JS code need to be stringyfied, as they will be replaced in the code, and JS needs quotes
|
* ENV variables used in JS code need to be stringyfied, as they will be replaced in the code, and JS needs quotes
|
||||||
* around strings
|
* around strings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue