allow help and terms commands without being identified

This commit is contained in:
unek
2014-02-23 17:17:29 +01:00
parent aad1053b90
commit e3330ececc
2 changed files with 14 additions and 14 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
var express = require('express')
, swig = require('swig');
, swig = require('swig')
, path = require('path');
module.exports.app = function(port, coin, settings, winston) {
var app = express();
@@ -14,7 +15,7 @@ module.exports.app = function(port, coin, settings, winston) {
return success;
}));
var tpl = swig.compileFile(__dirname + '/views/index.html');
var tpl = swig.compileFile(path.join(__dirname, '/views/index.html'));
app.get('/', function(req, res) {
var accounts = [];
coin.listAccounts(5, function(err, reply) {