summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-08 13:36:14 +0200
committerGitHub <noreply@github.com>2021-09-08 13:36:14 +0200
commita19c3a667653df859161bd12e3ca168c993bfe8c (patch)
tree0513f5476a9709069d4616fd4bdf48a53ec34fc2 /api/src
parentUpdate User.ts (diff)
parentFix upload size (diff)
downloadserver-a19c3a667653df859161bd12e3ca168c993bfe8c.tar.xz
Merge pull request #343 from Stilic/patch-1
Diffstat (limited to 'api/src')
-rw-r--r--api/src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/Server.ts b/api/src/Server.ts

index 0f444f86..b9ca3fba 100644 --- a/api/src/Server.ts +++ b/api/src/Server.ts
@@ -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