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
commit9b1461007bd651abdbd1a6f29dded757301f9d4a (patch)
treea37d1fa522d7582b5601223e0ff27c3347673ac9 /cdn/src/Server.ts
parentIncreased CDN max upload to 10mb (diff)
downloadserver-9b1461007bd651abdbd1a6f29dded757301f9d4a.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/"));