Replaced all uses of underscore in proxy URLs with dashes

Issue #128
This commit is contained in:
Michael Irwin
2017-04-26 00:10:35 -04:00
parent 6acb6f47c5
commit e31dc8cfaa
3 changed files with 17 additions and 10 deletions

View File

@@ -185,7 +185,7 @@
}
$scope.getProxyUrl = function(instance, port) {
var url = window.location.protocol + '//pwd' + instance.ip.replace(/\./g, '_') + '-' + port + '.' + window.location.host;
var url = window.location.protocol + '//pwd' + instance.ip.replace(/\./g, '-') + '-' + port + '.' + window.location.host;
return url;
}