Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from debben/master
Browse files Browse the repository at this point in the history
Remove explicit hostnames.
  • Loading branch information
mhausenblas authored Jul 31, 2017
2 parents 199d7e1 + be94bc6 commit cb6cc37
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/ui/coreui/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $(document).ready(function($){
$('#config-result').html('<div><img src="./img/standby.gif" alt="please wait" width="64px"></div>');
$.ajax({
type: "GET",
url: 'http://localhost:8080/v1/explorer?endpoint='+encodeURIComponent(ep),
url: '/v1/explorer?endpoint='+encodeURIComponent(ep),
dataType: 'json',
async: false,
data: '{"endpoint": "' + ep +'"}',
Expand All @@ -49,7 +49,7 @@ $(document).ready(function($){
})
$.ajax({
type: "GET",
url: 'http://localhost:8080/v1/epstats?endpoint='+encodeURIComponent(ep),
url: '/v1/epstats?endpoint='+encodeURIComponent(ep),
dataType: 'json',
async: false,
data: '{"endpoint": "' + ep +'"}',
Expand Down Expand Up @@ -109,7 +109,7 @@ $(document).ready(function($){
$('#backup-result').html('<div><img src="./img/standby.gif" alt="please wait" width="64px"></div>');
$.ajax({
type: "POST",
url: 'http://localhost:8080/v1/backup',
url: '/v1/backup',
dataType: 'json',
async: false,
data: payload,
Expand Down Expand Up @@ -147,7 +147,7 @@ $(document).ready(function($){
$('#restore-result').html('<div><img src="./img/standby.gif" alt="please wait" width="64px"></div>');
$.ajax({
type: "GET",
url: 'http://localhost:8080/v1/backup/all'+payload,
url: '/v1/backup/all'+payload,
dataType: 'json',
error: function (d) {
console.info(d);
Expand Down Expand Up @@ -186,7 +186,7 @@ $(document).ready(function($){
$('#restore-result').html('<div><img src="./img/standby.gif" alt="please wait" width="64px"></div>');
$.ajax({
type: "POST",
url: 'http://localhost:8080/v1/restore',
url: '/v1/restore',
dataType: 'json',
async: false,
data: payload,
Expand Down Expand Up @@ -214,7 +214,7 @@ $(document).ready(function($){
$('#restore-result').html('<div><img src="./img/standby.gif" alt="please wait" width="64px"></div>');
$.ajax({
type: "POST",
url: 'http://localhost:8080/v1/restore/upload',
url: '/v1/restore/upload',
data: bfdata,
cache: false,
contentType: false,
Expand Down Expand Up @@ -296,7 +296,7 @@ $(document).ready(function($){
function getVersion(){
$.ajax({
type: "GET",
url: 'http://localhost:8080/v1/version',
url: '/v1/version',
async: false,
error: function (d) {
console.info(d);
Expand Down

0 comments on commit cb6cc37

Please sign in to comment.