code refactor
This commit is contained in:
parent
280858a513
commit
b4d4757a22
|
@ -35,7 +35,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var getDefaultRpcHost = function () {
|
var getDefaultRpcHost = function () {
|
||||||
var currentHost = $location.$$host;
|
var currentHost = $location.host();
|
||||||
|
|
||||||
if (currentHost) {
|
if (currentHost) {
|
||||||
return currentHost;
|
return currentHost;
|
||||||
|
|
Reference in a new issue