changed server to use exports

This commit is contained in:
bill bittner 2018-03-08 15:01:29 -08:00
parent 8706b07634
commit 936a431c14
3 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,15 +88,15 @@ const startServer = (mysqlConfig) => {
}); });
}; };
module.exports = { exports = {
hello () { hello () {
console.log('hello world'); console.log('hello world');
}, },
speak (something) { speak (something) {
console.log(something); console.log(something);
}, },
// start (config) { start (config) {
// const { mysqlConfig } = config; const { mysqlConfig } = config;
// startServer(mysqlConfig); startServer(mysqlConfig);
// }, },
}; };