summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-29 17:41:10 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-29 17:41:10 +1000
commita22a2ae031f2c02b41aa9a7c1746b2989bcf0126 (patch)
tree8af65c4e69a6661e7554330f6d0d61c60bdde6f3 /config.json
parentb8aee1d2b5f09ae68f46e00f83eccff2dcf0bb55 (diff)
Add maximum upload size saftey and guards
Diffstat (limited to 'config.json')
-rw-r--r--config.json3
1 files changed, 2 insertions, 1 deletions
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