summary refs log tree commit diff
path: root/cdn/src/Server.ts
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-09 07:50:00 +0200
committerGitHub <noreply@github.com>2021-09-09 07:50:00 +0200
commitae59f4bafbeadd17bbe2e3bbd22dc6cbe17d6128 (patch)
tree5de00f1ba64eaf1125a01f83743af8dc8d2267b6 /cdn/src/Server.ts
parentIncreased CDN max upload to 10mb (diff)
downloadserver-ae59f4bafbeadd17bbe2e3bbd22dc6cbe17d6128.tar.xz
Removed urlencoded bodyparser
Diffstat (limited to '')
-rw-r--r--cdn/src/Server.ts1
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/"));