aboutsummaryrefslogtreecommitdiff
path: root/src/FileRouter.ts
diff options
context:
space:
mode:
authorcjd242018-04-23 08:43:10 +0100
committercjd242018-04-23 08:43:10 +0100
commitf1e8003fd621a40e2386c310a2189bb9a13b0c9d (patch)
treea0323aa44d4e9ee87bc9b5fb98e769c4af79265d /src/FileRouter.ts
parentAdd tabular functionality (except cols) (diff)
downloadmedicine-f1e8003fd621a40e2386c310a2189bb9a13b0c9d.tar.gz
medicine-f1e8003fd621a40e2386c310a2189bb9a13b0c9d.zip

BIG FILTHY COMMIT OF SCARY STUFF

Diffstat (limited to 'src/FileRouter.ts')
-rw-r--r--src/FileRouter.ts2
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);
}