mirror of https://github.com/JoeBiellik/paste
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
247 B
JavaScript
8 lines
247 B
JavaScript
9 years ago
|
var app = require('./app');
|
||
|
var config = require('config');
|
||
|
var util = require('util');
|
||
|
|
||
|
module.exports = app.listen(process.env.PORT || config.port || 3000, function() {
|
||
|
util.log('Server started: http://localhost:%s/', this.address().port);
|
||
|
});
|