paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b63a2930db600b00873f6be694802790e1b12304
parent 9e2e8bd969008c58aa841efdcd98a2eb83149836
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri,  5 Apr 2019 18:26:08 -0400

Change large file threshold to 20M

Diffstat:
Mserver/app.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/app.js b/server/app.js @@ -172,7 +172,7 @@ const httpServer = http.createServer((req, res) => { handle_error(err, res); } else { - if (stat.size > 100000) { + if (stat.size > 20000) { serve_large_file(filePath, stat.size, contentType, req, res); } else {