From a22a2ae031f2c02b41aa9a7c1746b2989bcf0126 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sun, 29 Mar 2020 17:41:10 +1000 Subject: Add maximum upload size saftey and guards --- config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.json') diff --git a/config.json b/config.json index 9edf9dc..76d608d 100644 --- a/config.json +++ b/config.json @@ -9,7 +9,8 @@ "host": "0.0.0.0", "port": 8000, "store_path": "tube.db", - "upload_path": "uploads" + "upload_path": "uploads", + "max_upload_size": 104857600 }, "thumbnailer": { "timeout": 60 -- cgit v1.2.3