Added: Preview Lightbox

This commit is contained in:
Christoph Wiechert
2017-05-08 14:10:04 +02:00
parent 65f33003bb
commit 40cd033c05
4 changed files with 127 additions and 15 deletions

View File

@@ -22,6 +22,8 @@ const config = {
4838400: "8 Weeks"
},
defaultRetention: 604800,
// maximum file-size for previews in byte
maxPreviewSize: Math.pow(2,20) * 2, // 2MB
mailTemplate: 'mailto:?subject=File Transfer&body=You can download the files here: %%URL%%',
// see https://github.com/expressjs/morgan
// set to false to disable logging