diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-05 20:52:13 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-05 20:52:13 +0100 |
| commit | e9e7ddf9b11f73e01925541bd6a534d5abaa7548 (patch) | |
| tree | 2bd101e17dd7b09a183ceac6b7529b63342dba28 /client | |
| parent | cca5df968e3598b07ee81c1f7f2680f5b9120ec3 (diff) | |
Make relative path for http request
Diffstat (limited to 'client')
| -rw-r--r-- | client/js/requests/identity.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/requests/identity.js b/client/js/requests/identity.js index 7a08714..d34af53 100644 --- a/client/js/requests/identity.js +++ b/client/js/requests/identity.js @@ -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'}}); }; |
