diff options
| author | Tom Harley | 2018-04-24 23:53:37 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-04-24 23:53:37 +0100 |
| commit | 0f18bd35b91dd0156c11814a1dcb77f123275c80 (patch) | |
| tree | cb186dab591c171876910eb6ee7da0c8906a0212 /src/FileRouter.ts | |
| parent | Begin incorporating logger in conversions (diff) | |
| parent | merging report stuff (diff) | |
| download | medicine-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.ts | 2 |
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); } |
