diff options
| author | cjd24 | 2018-04-23 08:43:10 +0100 |
|---|---|---|
| committer | cjd24 | 2018-04-23 08:43:10 +0100 |
| commit | f1e8003fd621a40e2386c310a2189bb9a13b0c9d (patch) | |
| tree | a0323aa44d4e9ee87bc9b5fb98e769c4af79265d /src/FileRouter.ts | |
| parent | Add tabular functionality (except cols) (diff) | |
| download | medicine-f1e8003fd621a40e2386c310a2189bb9a13b0c9d.tar.gz medicine-f1e8003fd621a40e2386c310a2189bb9a13b0c9d.zip | |
BIG FILTHY COMMIT OF SCARY STUFF
Diffstat (limited to 'src/FileRouter.ts')
| -rw-r--r-- | src/FileRouter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
