mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-10 19:17:03 +00:00
Fix upload size
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user