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 | ae59f4bafbeadd17bbe2e3bbd22dc6cbe17d6128 (patch) | |
tree | 5de00f1ba64eaf1125a01f83743af8dc8d2267b6 /cdn/src/Server.ts | |
parent | Increased CDN max upload to 10mb (diff) | |
download | server-ae59f4bafbeadd17bbe2e3bbd22dc6cbe17d6128.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/")); |