diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-27 19:18:49 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-27 19:18:49 +0000 |
| commit | 54e479f0db78ed3bfc0be94e9d7ecdb8c00ca187 (patch) | |
| tree | 7355c1b0182bc67c050586aee7d6be20a676130e /src/routes.ts | |
| parent | 0ff6234206437191d7b405cf91e21f854e7587bf (diff) | |
| download | ao-coverage-54e479f0db78ed3bfc0be94e9d7ecdb8c00ca187.tar.gz ao-coverage-54e479f0db78ed3bfc0be94e9d7ecdb8c00ca187.tar.bz2 ao-coverage-54e479f0db78ed3bfc0be94e9d7ecdb8c00ca187.zip | |
Test hc endpoint; remove unreachable code
Diffstat (limited to 'src/routes.ts')
| -rw-r--r-- | src/routes.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/routes.ts b/src/routes.ts index 7d2c2fb..a8360ca 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -106,11 +106,6 @@ export default (metadata: Metadata): Router => { } }); req.on("end", async () => { - // Ignore large requests - if (contents.length > limit) { - return res.status(413).send(Messages.FileTooLarge); - } - const formatter = formats.getFormat(format); const identity = { organization: org, |
