mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
allow help and terms commands without being identified
This commit is contained in:
+3
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user