Browse Source

fix: config env vars parsing

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

+ 2 - 2
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] }
     )
   }
 }