Change all "api" URLs. Ideally the path prefix would be an option.

This commit is contained in:
Simo Kinnunen
2014-12-17 21:29:51 +09:00
parent 436fa6eff9
commit b2e114c9be
14 changed files with 28 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ define(['./module'], function(mod) {
, password: $scope.signin.password.$modelValue
}
$scope.invalid = false
$http.post('/api/v1/auth/ldap', data)
$http.post('/auth/api/v1/ldap', data)
.success(function(response) {
$scope.error = null
location.replace(response.redirect)