Up the default request limit size

For larger transactions
This commit is contained in:
Travis Ralston 2018-08-13 20:44:57 -06:00
parent 6b21ac4443
commit 2eaa78c1c7

View File

@ -55,7 +55,7 @@ export default class Webserver {
private configure() {
this.app.use(express.static(path.join(__dirname, "..", "..", "web")));
this.app.use(bodyParser.json());
this.app.use(bodyParser.json({limit: '512mb'}));
this.app.use((req, _res, next) => {
const parsedUrl = URL.parse(req.url, true);
if (parsedUrl.query && parsedUrl.query["scalar_token"]) {