mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-14 06:32:36 +01:00
Removed urlencoded bodyparser
This commit is contained in:
parent
5483ea1ce9
commit
ae59f4bafb
@ -28,7 +28,6 @@ export class CDNServer extends Server {
|
|||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
this.app.use(bodyParser.json({ inflate: true, limit: "10mb" }));
|
this.app.use(bodyParser.json({ inflate: true, limit: "10mb" }));
|
||||||
this.app.use(bodyParser.urlencoded({ inflate: true, limit: "10mb" }));
|
|
||||||
|
|
||||||
await this.registerRoutes(path.join(__dirname, "routes/"));
|
await this.registerRoutes(path.join(__dirname, "routes/"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user