Include env var in exports

This commit is contained in:
Christian Cueni 2021-07-21 07:53:22 +02:00
parent f8f40d08b8
commit 7e0a240911
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ module.exports = {
HEP_URL: JSON.stringify(process.env.HEP_URL),
MATOMO_HOST: JSON.stringify(process.env.MATOMO_HOST),
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
* around strings