Browse Source

fix: config env vars parsing

[ci skip]
pull/107/head
NGPixel 7 years ago
parent
commit
bfb31c75a9
1 changed files with 2 additions and 2 deletions
  1. 4
      server/helpers/config.js

4
server/helpers/config.js

@ -12,8 +12,8 @@ module.exports = {
parseConfigValue (cfg) {
return _.replace(
cfg,
(/\$\(([A-Z0-9_]+)\)/g,
(fm, m) => { return process.env[m] })
/\$\(([A-Z0-9_]+)\)/g,
(fm, m) => { return process.env[m] }
)
}
}
Loading…
Cancel
Save