summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 49bb2398..6d1d5009 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -69,7 +69,7 @@ export class FosscordServer extends Server { this.app.use(CORS); this.app.use(Authentication); - this.app.use(BodyParser({ inflate: true, limit: 1024 * 1024 * 2 })); + this.app.use(BodyParser({ inflate: true, limit: 1024 * 1024 * 10 })); // 2MB const languages = fs.readdirSync(path.join(__dirname, "..", "locales")); const namespaces = fs.readdirSync(path.join(__dirname, "..", "locales", "en")); const ns = namespaces.filter((x) => x.endsWith(".json")).map((x) => x.slice(0, x.length - 5));