From f1e8003fd621a40e2386c310a2189bb9a13b0c9d Mon Sep 17 00:00:00 2001 From: cjd24 Date: Mon, 23 Apr 2018 08:43:10 +0100 Subject: BIG FILTHY COMMIT OF SCARY STUFF --- src/FileRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/FileRouter.ts') diff --git a/src/FileRouter.ts b/src/FileRouter.ts index bb022d3..c8884f7 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -1019,7 +1019,7 @@ export class FileRouter { this.router.get ('/projects/:project_name/files/*', getFilePath); this.router.post( '/projects/:project_name/files/*', - bodyParser.raw({ type: '*/*' }), postFilePath); + bodyParser.raw({ type: '*/*', limit: '20GB' }), postFilePath); this.router.get ('/projects/:project_name/files_by_id/:id', getFileId); } -- cgit v1.2.1