Archived
/rest/version should return JSON (fixes #694)
This commit is contained in:
1 parent
37a473e7d6
commit
d7956dd495
3 files changed
+9
-3
No files matched your search
+1
-1
@@ -390,7 +390,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca
|
||||
refreshNodeStats();
|
||||
|
||||
$http.get(urlbase + '/version').success(function (data) {
|
||||
$scope.version = data;
|
||||
$scope.version = data.version;
|
||||
});
|
||||
|
||||
$http.get(urlbase + '/report').success(function (data) {
|
||||
|
||||
Reference in new issue
Block a user