|
|
@ -21,7 +21,7 @@ try { |
|
|
|
, routes = require(__dirname+'/routes'); |
|
|
|
, routes = require(__dirname+'/routes'); |
|
|
|
|
|
|
|
|
|
|
|
var app = express.createServer(); |
|
|
|
var app = express.createServer(); |
|
|
|
var io = require('socket.io').listen(app); |
|
|
|
var io = require('socket.io').listen(app); |
|
|
|
var package = require(__dirname+'/package.json'); |
|
|
|
var package = require(__dirname+'/package.json'); |
|
|
|
var config = require(package.path.config); |
|
|
|
var config = require(package.path.config); |
|
|
|
var authentication = require('authentication.js')(config.restrict); |
|
|
|
var authentication = require('authentication.js')(config.restrict); |
|
|
|