Skip to content

Commit

Permalink
better startup message
Browse files Browse the repository at this point in the history
  • Loading branch information
iparamonau committed Apr 21, 2017
1 parent 6d7799b commit b9fe8c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Expand Up @@ -2,7 +2,8 @@ var sysUtils = require('./utils');
var app = require('./app');

var server = app.listen(process.env.PORT || CONFIG.port, process.env.HOST || CONFIG.host, function(){
console.log('\niframely is running on http://' + server.address().address + ':' + server.address().port + '/debug\n');
console.log('\niframely is running on ' + server.address().address + ':' + server.address().port);
console.log('API endpoints: /oembed and /iframely; Debugger UI: /debug\n');
});

if (CONFIG.ssl) {
Expand Down

0 comments on commit b9fe8c2

Please sign in to comment.