Make relative path for http request
This commit is contained in:
parent
cca5df968e
commit
e9e7ddf9b1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ identity.requestParser = {}; // Parser part
|
|||
identity.request.login=function($http,username, password,projectname){
|
||||
var requestResultObject={};
|
||||
|
||||
return $http.post('http://localhost.istic-openstack/server/index.php',
|
||||
return $http.post('../server/index.php',
|
||||
$.param({"task" : "Authenticate", "user" : username, "password" : password, "project" : projectname}),
|
||||
{headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue