aboutsummaryrefslogtreecommitdiff
path: root/src/FileRouter.ts
diff options
context:
space:
mode:
authorTom Harley2018-04-24 23:53:37 +0100
committerTom Harley2018-04-24 23:53:37 +0100
commit0f18bd35b91dd0156c11814a1dcb77f123275c80 (patch)
treecb186dab591c171876910eb6ee7da0c8906a0212 /src/FileRouter.ts
parentBegin incorporating logger in conversions (diff)
parentmerging report stuff (diff)
downloadmedicine-0f18bd35b91dd0156c11814a1dcb77f123275c80.tar.gz
medicine-0f18bd35b91dd0156c11814a1dcb77f123275c80.zip

Merge branch ‘trh/gets’ of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/project-code into trh/gets

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 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);
}