1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Merge pull request #343 from Stilic/patch-1

This commit is contained in:
Flam3rboy 2021-09-08 13:36:14 +02:00 committed by GitHub
commit cb617981fa

View File

@ -37,7 +37,7 @@ export class FosscordServer extends Server {
await initEvent();
this.app.use(CORS);
this.app.use(BodyParser({ inflate: true, limit: 1024 * 1024 * 10 })); // 10MB
this.app.use(BodyParser({ inflate: true, limit: "10mb" }));
const app = this.app;
const api = Router(); // @ts-ignore