mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-04 00:34:16 +00:00
Removed urlencoded bodyparser
This commit is contained in:
1 parent
b3f91068e5
commit
9b1461007b
1 file changed
-1
@@ -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/"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user