summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-06-13 16:58:36 +0200
committerfranck cuny <franck@lumberjaph.net>2011-06-13 16:58:36 +0200
commit106fd5515500f70062e60a1563d3bb6b91c25f1a (patch)
tree0e8488fa7b23d1aaab345e141f13ca0c1c5e46ff /public
parentand new template for index (diff)
downloadstargit-106fd5515500f70062e60a1563d3bb6b91c25f1a.tar.gz
remove absolute url
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to '')
-rw-r--r--public/javascripts/github-connector.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/github-connector.js b/public/javascripts/github-connector.js
index db8ddac..976f8de 100644
--- a/public/javascripts/github-connector.js
+++ b/public/javascripts/github-connector.js
@@ -125,7 +125,7 @@ function onOverNodes(nodesArray){
// Github network:
function getGithubGraph(user){
- url = "http://localhost:3000/graph/local/"+user;
+ url = "/graph/local/"+user;
$.ajax({
url: url,
@@ -138,7 +138,7 @@ function getGithubGraph(user){
}
function getGraphAttributes(){
- url = "http://localhost:3000/graph/attributes";
+ url = "/graph/attributes";
$.ajax({
url: url,
@@ -149,4 +149,4 @@ function getGraphAttributes(){
setComboBoxes();
}
});
-} \ No newline at end of file
+}