reduces max request body size for now
This commit is contained in:
parent
8dc7464381
commit
4ffa7fb12b
|
@ -19,8 +19,8 @@ proxyRouter.use((req, _res, next) => {
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
proxyRouter.use(
|
proxyRouter.use(
|
||||||
express.json({ limit: "10mb" }),
|
express.json({ limit: "1mb" }),
|
||||||
express.urlencoded({ extended: true, limit: "10mb" })
|
express.urlencoded({ extended: true, limit: "1mb" })
|
||||||
);
|
);
|
||||||
proxyRouter.use(gatekeeper);
|
proxyRouter.use(gatekeeper);
|
||||||
proxyRouter.use(checkRisuToken);
|
proxyRouter.use(checkRisuToken);
|
||||||
|
|
Loading…
Reference in New Issue