* POST /control/version.json: change response when update is disabled
This commit is contained in:
@@ -344,10 +344,14 @@ Response:
|
||||
|
||||
If `can_autoupdate` is true, then the server can automatically upgrade to a new version.
|
||||
|
||||
Response with empty body:
|
||||
Response when auto-update is disabled by command-line aragument:
|
||||
|
||||
200 OK
|
||||
|
||||
{
|
||||
"disabled":true
|
||||
}
|
||||
|
||||
It means that update check is disabled by user. UI should do nothing.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user