mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(body size): Increasing POST body size allowed
This commit is contained in:
+2
-2
@@ -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')))
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ const config = require('../../../config')
|
||||
const routeUtils = new RouteUtils()
|
||||
const bchjs = new BCHJS({ restURL: config.restURL })
|
||||
|
||||
|
||||
let _this
|
||||
|
||||
class PsfSlpIndexer {
|
||||
|
||||
Reference in New Issue
Block a user