* auto-update: use 'selfupdate_min_version' from version.json

This commit is contained in:
Simon Zolin
2019-06-05 14:07:32 +03:00
parent ddb1bc0fee
commit 466f553bbe
2 changed files with 5 additions and 2 deletions

View File

@@ -250,6 +250,8 @@ Example of version.json data:
"selfupdate_min_version": "v0.0"
}
Server can only auto-update if the current version is equal or higher than `selfupdate_min_version`.
Request:
GET /control/version.json