Skip to content
Snippets Groups Projects
Commit 664d724e authored by esikkala's avatar esikkala
Browse files

Add comments

parent fbde8009
No related branches found
No related tags found
No related merge requests found
......@@ -97,4 +97,10 @@ app.get('*', function(request, response) {
response.sendFile(path.join(publicPath, 'index.html'));
});
app.listen(app.get('port'), () => console.log('MMM API listening on port ' + app.get('port')));
app.listen(app.get('port'), () =>
console.log(`
Express server listening on port ${app.get('port')}
Static files (e.g. the React app) will be served from ${publicPath}
API path is ${apiPath}`
)
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment