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
|
@ -88,7 +88,11 @@ const startServer = (mysqlConfig) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (config) => {
|
const speech = {
|
||||||
|
start (config) {
|
||||||
const { mysqlConfig } = config;
|
const { mysqlConfig } = config;
|
||||||
return startServer(mysqlConfig);
|
startServer(mysqlConfig);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
module.exports = speech;
|
||||||
|
|
Loading…
Reference in a new issue