ethstats-server/bin/www

10 lines
268 B
Plaintext
Raw Normal View History

2014-12-03 04:08:49 +01:00
#!/usr/bin/env node
var debug = require('debug')('eth-netstats');
var app = require('../app');
app.set('port', process.env.PORT || 3000);
var server = app.listen(app.get('port'), function() {
debug('Express server listening on port ' + server.address().port);
});