Merge pull request #1529 from bdashore3/staging

This commit is contained in:
Cohee
2023-12-14 13:57:38 +02:00
committed by GitHub

View File

@@ -222,7 +222,9 @@ if (!cliArguments.disableCsrf) {
if (getConfigValue('enableCorsProxy', false) || cliArguments.corsProxy) {
const bodyParser = require('body-parser');
app.use(bodyParser.json());
app.use(bodyParser.json({
limit: '200mb',
}));
console.log('Enabling CORS proxy');
app.use('/proxy/:url(*)', async (req, res) => {