Fix for incorrect reloading URL

This commit is contained in:
Louis Vézina 2018-10-16 22:04:07 -04:00
parent 376ee719fb
commit fb2860396a
2 changed files with 4 additions and 4 deletions

View File

@ -194,9 +194,9 @@
function ping() {
$.ajax({
url: protocol + '://' + public_ip + ':{{port}}{{base_url}}',
url: protocol + '//' + public_ip + ':{{port}}{{base_url}}',
success: function(result) {
window.location.href= protocol + '://' + public_ip + ':{{port}}{{base_url}}';
window.location.href= protocol + '//' + public_ip + ':{{port}}{{base_url}}';
}
});
}

View File

@ -250,9 +250,9 @@
function ping() {
$.ajax({
url: protocol + '://' + public_ip + ':{{port}}{{base_url}}',
url: protocol + '//' + public_ip + ':{{port}}{{base_url}}',
success: function(result) {
window.location.href= protocol + '://' + public_ip + ':{{port}}{{base_url}}';
window.location.href= protocol + '//' + public_ip + ':{{port}}{{base_url}}';
}
});
}