mirror of
https://github.com/9001/copyparty.git
synced 2026-03-29 11:32:55 +10:00
add optional update-checker (#1315)
can check if the current version has a known vulnerability, with the option to panic and exit if so, and otherwise show a warning in the controlpanel for admins --------- Co-authored-by: ed <s@ocv.me>
This commit is contained in:
@@ -57,6 +57,15 @@
|
||||
|
||||
# show versions and exit
|
||||
version
|
||||
|
||||
# url to check against for vulnerable versions (default disabled); setting this will enable automatic
|
||||
# vulnerability checks. the notification, in case you are running a vulnerable version, is shown on the
|
||||
# admin panel (/?h) and only for users with admin permissions. you can choose between the value given here,
|
||||
# or alternatively use https://api.copyparty.eu/security-advisories, or your own custom endpoint
|
||||
vc-url: https://api.github.com/repos/9001/copyparty/security-advisories
|
||||
|
||||
# how many seconds to wait between vulnerability checks; default is 86400 (= 1 day).
|
||||
vc-interval: 86400
|
||||
|
||||
###000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\
|
||||
###// qr options \\000000000000000000000000000000000000000000000000000000000000000000000000000\
|
||||
|
||||
Reference in New Issue
Block a user