getUrl()
parent
7135602bd1
commit
97e0cda352
|
@ -201,6 +201,10 @@
|
|||
}
|
||||
};
|
||||
|
||||
$scope.getUrl = function() {
|
||||
return $location.absUrl().replace(/#.*$/, '');
|
||||
};
|
||||
|
||||
$scope.setDataFromHash = function() {
|
||||
var hashData = $location.search();
|
||||
|
||||
|
|
|
@ -718,7 +718,7 @@
|
|||
<input type="text"
|
||||
class="form-control form-control-sm"
|
||||
readonly
|
||||
ng-value="location.absUrl()">
|
||||
ng-value="getUrl()">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row mt-4">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Generated by nginxconfig.io<!--
|
||||
|
||||
✔ isDirty --><span ng-if="isDirty">
|
||||
# {{ location.absUrl() }}</span>
|
||||
# {{ getUrl() }}</span>
|
||||
|
||||
user {{ data.user }};
|
||||
pid {{ data.pid}};
|
||||
|
|
Loading…
Reference in New Issue