Skip to content

Commit

Permalink
Changing REST host port
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-jardim committed May 15, 2015
1 parent 0c359ac commit 77a0044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/relatorioCodigo.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ window.onload = function() {
var url;

if (dateNow.is(":checked") == true) {
url = "http://rest.riob.us/all?callback=?";
url = "http://rest.riob.us:81/all?callback=?";
}
else {
//converting to correct format, from datetime input, using moment js
Expand All @@ -363,7 +363,7 @@ window.onload = function() {
else {
initialDate = moment(initialDate,"DD/MM/YYYY - HH").format("YYYYMMDDHH");
finalDate = moment(finalDate,"DD/MM/YYYY - HH").format("YYYYMMDDHH");
url = "http://rest.riob.us/api/" + initialDate + "/" + finalDate + "?callback=?";
url = "http://rest.riob.us:81/api/" + initialDate + "/" + finalDate + "?callback=?";
}
}

Expand Down
2 changes: 1 addition & 1 deletion riobus-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dataQueuer": {
"host": "rest.riob.us",
"path": "/all",
"port": 80,
"port": 81,
"intervalTime": 10000
}
}

0 comments on commit 77a0044

Please sign in to comment.