Guest User

Untitled

a guest
May 17th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/nodejs
  2. var debug = require('debug')('my-application');
  3. var app = require('../app');
  4.  
  5. app.set('port', process.env.PORT || 3000);
  6.  
  7. var server = app.listen(app.get('port'), function() {
  8.   debug('Express server listening on port ' + server.address().port);
  9. });
Advertisement
Add Comment
Please, Sign In to add comment