mirror of https://github.com/apache/lucene.git
SOLR-12997: Fix broken link on admin Stream panel
This commit is contained in:
parent
d17c6d8897
commit
a0788a7b5e
|
@ -59,9 +59,8 @@ solrAdminApp.controller('StreamController',
|
|||
|
||||
$scope.lang = "json";
|
||||
$scope.response = data;
|
||||
$scope.url = $location.protocol() + "://" +
|
||||
$location.host() + ":" +
|
||||
$location.port() + url;
|
||||
$scope.url = url;
|
||||
$scope.hostPortContext = $location.absUrl().substr(0,$location.absUrl().indexOf("#")); // For display only
|
||||
|
||||
});
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@ limitations under the License.
|
|||
|
||||
<div id="result">
|
||||
|
||||
<a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{url}}</a>
|
||||
<a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{hostPortContext}}{{url}}</a>
|
||||
|
||||
<div ng-show="showExplanation" id="explanation" class="clearfix">
|
||||
<div id="frame">
|
||||
|
|
Loading…
Reference in New Issue