updating nodebb executable so that it sends a NODE_ENV environment

variable in, and modified app.js and redis lib to read it.
This commit is contained in:
Julian Lam
2013-06-21 13:28:55 -04:00
parent f91e0848ee
commit 4d99870063
6 changed files with 32 additions and 28 deletions

View File

@@ -292,11 +292,7 @@ var express = require('express'),
app.get('/api/:method/:id*', api_method);
app.all('/test', function(req, res) {
var RDB = require('./redis.js');
RDB.lpush('administrators', 1, function(err, data) {
// console.log(err, data);
res.send();
});
res.send();
});