This commit is contained in:
Audrius Butkevicius
2015-04-07 13:57:26 +01:00
parent ab25cd09ed
commit 68ff4f3842
5 changed files with 13 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ angular.module('syncthing.core')
// we shouldn't validate
ctrl.$setValidity('validDeviceid', true);
} else {
$http.get(urlbase + '/deviceid?id=' + viewValue).success(function (resp) {
$http.get(urlbase + '/svc/deviceid?id=' + viewValue).success(function (resp) {
if (resp.error) {
ctrl.$setValidity('validDeviceid', false);
} else {