Skip to content

Commit

Permalink
Fix: defaultRetention one-time not working. Closes psi-4ward#44
Browse files Browse the repository at this point in the history
  • Loading branch information
psi-4ward committed Dec 14, 2018
1 parent 0260c73 commit 0b33927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
"604800": "1 Week",
"1209600": "2 Weeks"
},
"defaultRetention": 3600,
"defaultRetention": "3600",
"adminPass": "admin"
// "sslKeyFile": './tmp/cert.key',
// "sslCertFile": './tmp/cert.pem',
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
},
// admin password, set to false to disable /admin page
"adminPass": false,
"defaultRetention": 604800,
"defaultRetention": "604800",
// expire every file after maxAge (eg never downloaded one-time files)
"maxAge": 3600*24*75, // 75 days
// maximum file-size for previews in byte
Expand Down

0 comments on commit 0b33927

Please sign in to comment.