diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-09 07:50:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 07:50:00 +0200 |
commit | 9b1461007bd651abdbd1a6f29dded757301f9d4a (patch) | |
tree | a37d1fa522d7582b5601223e0ff27c3347673ac9 /cdn/src/Server.ts | |
parent | Increased CDN max upload to 10mb (diff) | |
download | server-9b1461007bd651abdbd1a6f29dded757301f9d4a.tar.xz |
Removed urlencoded bodyparser
Diffstat (limited to '')
-rw-r--r-- | cdn/src/Server.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cdn/src/Server.ts b/cdn/src/Server.ts index 63499ce4..5c4a8ae5 100644 --- a/cdn/src/Server.ts +++ b/cdn/src/Server.ts @@ -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/")); |