Add env-var json support
e.g.: PSITRANSFER_RETENTIONS='{"one-time":"one time download","604800":"1 Week"}'
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
accessLog: 'dev',
|
||||
retentions: {
|
||||
"accessLog": 'dev',
|
||||
"retentions": {
|
||||
"one-time": "one time download",
|
||||
10: "10 Seconds",
|
||||
60: "1 Minute",
|
||||
300: "5 Minutes",
|
||||
3600: "1 Hour",
|
||||
21600: "6 Hours",
|
||||
86400: "1 Day",
|
||||
259200: "3 Days",
|
||||
604800: "1 Week",
|
||||
1209600: "2 Weeks",
|
||||
2419200: "4 Weeks",
|
||||
4838400: "8 Weeks"
|
||||
"60": "1 Minute",
|
||||
"300": "5 Minutes",
|
||||
"3600": "1 Hour",
|
||||
"21600": "6 Hours",
|
||||
"86400": "1 Day",
|
||||
"259200": "3 Days",
|
||||
"604800": "1 Week",
|
||||
"1209600": "2 Weeks"
|
||||
},
|
||||
"defaultRetention": 3600
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user