summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-05 20:52:13 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-05 20:52:13 +0100
commite9e7ddf9b11f73e01925541bd6a534d5abaa7548 (patch)
tree2bd101e17dd7b09a183ceac6b7529b63342dba28
parentcca5df968e3598b07ee81c1f7f2680f5b9120ec3 (diff)
Make relative path for http request
-rw-r--r--client/js/requests/identity.js2
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'}});
};