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