1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Removed urlencoded bodyparser

This commit is contained in:
AlTech98 2021-09-09 07:50:00 +02:00 committed by GitHub
parent 5483ea1ce9
commit ae59f4bafb

View File

@ -28,7 +28,6 @@ export class CDNServer extends Server {
next();
});
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/"));