⚡ increase upload limit
This commit is contained in:
parent
e34e30dbb9
commit
6960774210
@ -68,7 +68,7 @@ export class FosscordServer extends Server {
|
||||
this.app.use(GlobalRateLimit);
|
||||
this.app.use(Authentication);
|
||||
this.app.use(CORS);
|
||||
this.app.use(BodyParser({ inflate: true }));
|
||||
this.app.use(BodyParser({ inflate: true, limit: 1024 * 1024 * 2 }));
|
||||
const languages = await fs.readdir(path.join(__dirname, "..", "locales"));
|
||||
const namespaces = await fs.readdir(path.join(__dirname, "..", "locales", "en"));
|
||||
const ns = namespaces.filter((x) => x.endsWith(".json")).map((x) => x.slice(0, x.length - 5));
|
||||
|
Loading…
x
Reference in New Issue
Block a user