mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-13 10:00:36 +01:00
8 lines
296 B
JavaScript
8 lines
296 B
JavaScript
const express = require('express');
|
|
|
|
// Instantiate parser middleware here with application-level size limits
|
|
const jsonParser = express.json({ limit: '200mb' });
|
|
const urlencodedParser = express.urlencoded({ extended: true, limit: '200mb' });
|
|
|
|
module.exports = { jsonParser, urlencodedParser };
|