Skip to content

Node.js based forum software built for the modern web

Set separator for loading environment variables to `nconf`, as discussed on https://github.com/NodeBB/NodeBB/pull/2778#issuecomment-76209393

ahwayakchih7ed41a1f6049
diff --git a/app.js b/app.js
index ef113e5ece..1299cfdf4a 100644
--- a/app.js
+++ b/app.js
@@ -21,7 +21,7 @@
/*global require, global, process*/
var nconf = require('nconf');
-nconf.argv().env();
+nconf.argv().env('__');
var fs = require('fs'),
os = require('os'),