Bump request payload limits

0e1d29acfecda72b85c5f933a55430d173d27e6c

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +3 -3Ignore whitespace
public/scripts/chats.js+1 -1
@@ -70,7 +70,7 @@ import { accountStorage } from './util/AccountStorage.js';
70 * @returns {Promise<string>} Converted file text70 * @returns {Promise<string>} Converted file text
71 */71 */
7272
73const fileSizeLimit = 1024 * 1024 * 100; // 100 MB73const fileSizeLimit = 1024 * 1024 * 350; // 350 MB
74const ATTACHMENT_SOURCE = {74const ATTACHMENT_SOURCE = {
75 GLOBAL: 'global',75 GLOBAL: 'global',
76 CHARACTER: 'character',76 CHARACTER: 'character',
src/server-main.js+2 -2
@@ -110,8 +110,8 @@ app.use(helmet({
110app.use(compression());110app.use(compression());
111app.use(responseTime());111app.use(responseTime());
112112
113app.use(bodyParser.json({ limit: '200mb' }));113app.use(bodyParser.json({ limit: '500mb' }));
114app.use(bodyParser.urlencoded({ extended: true, limit: '200mb' }));114app.use(bodyParser.urlencoded({ extended: true, limit: '500mb' }));
115115
116// CORS Settings //116// CORS Settings //
117const CORS = cors({117const CORS = cors({