mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 08:03:49 +00:00
[Functionality] Log app instance to the console
Added logging statement, so the user knows when the app is up and running.
This commit is contained in:
7
app.js
7
app.js
@ -75,6 +75,9 @@
|
|||||||
// Expose everything else as static files
|
// Expose everything else as static files
|
||||||
app.use(express['static'](options.directory));
|
app.use(express['static'](options.directory));
|
||||||
|
|
||||||
// Finally, open the HTTP server
|
// Finally, open the HTTP server and log the instance to the console
|
||||||
app.listen(options.port);
|
app.listen(options.port, function() {
|
||||||
|
console.log('Open MCT application running at localhost:' + options.port)
|
||||||
|
});
|
||||||
|
|
||||||
}());
|
}());
|
Reference in New Issue
Block a user