fix(body size): Increasing POST body size allowed

This commit is contained in:
Chris Troutner
2022-06-10 06:46:16 -07:00
parent 767a0fd38b
commit 0d00d340cf
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ const logStream = {
}
app.use(logger(morganFormat, { stream: logStream }))
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json({ limit: '50mb' }))
app.use(bodyParser.urlencoded({ extended: false, limit: '50mb' }))
app.use(cookieParser())
app.use(express.static(path.join(__dirname, 'public')))
-1
View File
@@ -16,7 +16,6 @@ const config = require('../../../config')
const routeUtils = new RouteUtils()
const bchjs = new BCHJS({ restURL: config.restURL })
let _this
class PsfSlpIndexer {