reduces max request body size for now

This commit is contained in:
nai-degen 2024-01-07 13:03:24 -06:00
parent 8dc7464381
commit 4ffa7fb12b
1 changed files with 2 additions and 2 deletions

View File

@ -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);