Merge branch 'staging' into separate-openai-endpoints
This commit is contained in:
commit
907dc610ab
|
@ -217,7 +217,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) => {
|
||||
|
|
Loading…
Reference in New Issue