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:
commit
cb617981fa
@ -37,7 +37,7 @@ export class FosscordServer extends Server {
|
|||||||
await initEvent();
|
await initEvent();
|
||||||
|
|
||||||
this.app.use(CORS);
|
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 app = this.app;
|
||||||
const api = Router(); // @ts-ignore
|
const api = Router(); // @ts-ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user