mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-04 08:02:22 +00:00
Up the default request limit size
For larger transactions
This commit is contained in:
parent
6b21ac4443
commit
2eaa78c1c7
@ -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"]) {
|
||||
|
Loading…
Reference in New Issue
Block a user