raised json limit
This commit is contained in:
parent
e84733a79c
commit
fe6b96074e
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -48,11 +48,11 @@ const express = require('express')
|
|||
const { MessageManager } = require('./types')
|
||||
const app = express(), appConfig = express()
|
||||
const appServer = require('http').createServer(app)
|
||||
app.use(express.json())
|
||||
app.use(express.json({ limit: '1mb' }))
|
||||
app.use(express.static('html_main'))
|
||||
app.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
||||
|
||||
appConfig.use(express.json())
|
||||
appConfig.use(express.json({ limit: '1mb' }))
|
||||
appConfig.use(express.static('html_config'))
|
||||
appConfig.use(express.static(__dirname + '/node_modules/@mdi/font'))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue