added prettier, removed seperate react eslint config, fixed missing

component display name Markdown.js, and added run method to app
This commit is contained in:
JJ Kasper
2018-06-01 16:31:14 -05:00
parent 0316746cae
commit 53ac8a6793
13 changed files with 66 additions and 89 deletions

View File

@@ -1,13 +1,10 @@
const logger = require('winston');
const app = require('./app');
const port = app.get('port');
const server = app.listen(port);
app.startNext();
server.on('listening', () =>
app.run(port).then(() => {
logger.info('MYKB listening at http://%s:%d', app.get('host'), port)
);
})
process.on('unhandledRejection', (reason, p) =>
logger.error('Unhandled Rejection at: Promise ', p, reason)