数据库调整回oms

This commit is contained in:
aixianling
2023-12-19 11:22:01 +08:00
parent 39de61cede
commit 89987aeea1
2 changed files with 3 additions and 3 deletions

View File

@@ -14,9 +14,9 @@ chalk.level = 1
app.listen(port, () => {
db.init()
app.use(express.json()) // for parsing application/json
app.use(xmlparser());
app.use(xmlparser()); // for parsing application/xml
app.use(express.urlencoded({extended: true, limit: '50mb'})) // for parsing application/x-www-form-urlencoded
//启动服务并监听
Promise.all([rest.init(app)]).then(() => {
log(`${chalk.bgGreen.black(" DONE ")} serve is listening on ${port}`)
ws.init(app)