chg: Add config for archive

pull/251/head
Raphaël Vinot 2021-08-20 17:50:57 +02:00
parent 8bd63a1efa
commit 1b14c248dd
1 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@
}
},
"hide_captures_with_error": false,
"archive": 180
"_notes": {
"loglevel": "(lookyloo) Can be one of the value listed here: https://docs.python.org/3/library/logging.html#levels",
"splash_loglevel": "(Splash) INFO is *very* verbose.",
@ -66,6 +67,7 @@
"enable_mail_notification": "Allow users to notify a pre-configured email address about a specific capture",
"email": "Configuration for sending email notifications.",
"priority": "Define the priority of a new capture. A capture from the web interface has priority over a capture from the API, same for authenticated user vs. anonymous.",
"hide_captures_with_error": "Capturing an URL may result in an error (domain non-existent, HTTP error, ...). They may be useful to see, but if you have a public instance, they will clutter the index."
"hide_captures_with_error": "Capturing an URL may result in an error (domain non-existent, HTTP error, ...). They may be useful to see, but if you have a public instance, they will clutter the index.",
"archive": "The captures older than this value (in days) will be archived. They're not cached by default in the Lookyloo class."
}
}