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