From e2a3b8f528d4da7bb3e74a9a75541d1aa9f6654f Mon Sep 17 00:00:00 2001 From: cjd24 Date: Mon, 23 Apr 2018 20:41:10 +0100 Subject: Final report push? --- 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 94ffa63..dbd556f 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -1023,7 +1023,7 @@ export class FileRouter { this.router.get ('/projects/:project_name/files/*', getFilePath); this.router.post( '/projects/:project_name/files/*', - bodyParser.raw({ type: '*/*', limit: '20GB' }), postFilePath); + bodyParser.raw({ type: '*/*', limit: '1GB' }), postFilePath); this.router.get ('/projects/:project_name/files_by_id/:id', getFileId); } -- cgit v1.2.1