Bump request payload limits
| @@ -70,7 +70,7 @@ import { accountStorage } from './util/AccountStorage.js'; | ||
| 70 | 70 | * @returns {Promise<string>} Converted file text |
| 71 | 71 | */ |
| 72 | 72 | |
| 73 | 73 | const fileSizeLimit = 1024 * 1024 * 100350; // 100350 MB |
| 74 | 74 | const ATTACHMENT_SOURCE = { |
| 75 | 75 | GLOBAL: 'global', |
| 76 | 76 | CHARACTER: 'character', |
| @@ -110,8 +110,8 @@ app.use(helmet({ | ||
| 110 | 110 | app.use(compression()); |
| 111 | 111 | app.use(responseTime()); |
| 112 | 112 | |
| 113 | 113 | app.use(bodyParser.json({ limit: '200mb500mb' })); |
| 114 | 114 | app.use(bodyParser.urlencoded({ extended: true, limit: '200mb500mb' })); |
| 115 | 115 | |
| 116 | 116 | // CORS Settings // |
| 117 | 117 | const CORS = cors({ |