updated server and bundle
This commit is contained in:
parent
6c2bef12ea
commit
29069302e9
3 changed files with 9 additions and 5 deletions
2
index.js
2
index.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
server.js
10
server.js
|
@ -88,7 +88,11 @@ const startServer = (mysqlConfig) => {
|
|||
});
|
||||
};
|
||||
|
||||
module.exports = (config) => {
|
||||
const { mysqlConfig } = config;
|
||||
return startServer(mysqlConfig);
|
||||
const speech = {
|
||||
start (config) {
|
||||
const { mysqlConfig } = config;
|
||||
startServer(mysqlConfig);
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = speech;
|
||||
|
|
Loading…
Reference in a new issue