Add /admin page

This commit is contained in:
Christoph Wiechert
2017-07-12 15:19:53 +02:00
parent 4c2f5c1d94
commit 1bb9d5792f
10 changed files with 300 additions and 7 deletions

View File

@@ -26,6 +26,8 @@ const config = {
"2419200": "4 Weeks",
"4838400": "8 Weeks"
},
// admin password, set to false to disable /admin page
"adminPass": false,
"defaultRetention": 604800,
// expire every file after maxAge (eg never downloaded one-time files)
"maxAge": 3600*24*75, // 75 days