diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 1a5692e..d444c12 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -201,6 +201,10 @@ } }; + $scope.getUrl = function() { + return $location.absUrl().replace(/#.*$/, ''); + }; + $scope.setDataFromHash = function() { var hashData = $location.search(); diff --git a/public/index.html b/public/index.html index ee982f0..08aa2c6 100644 --- a/public/index.html +++ b/public/index.html @@ -718,7 +718,7 @@ + ng-value="getUrl()">
diff --git a/public/templates/conf/nginx.conf.html b/public/templates/conf/nginx.conf.html index 2dc56a5..156c565 100644 --- a/public/templates/conf/nginx.conf.html +++ b/public/templates/conf/nginx.conf.html @@ -1,7 +1,7 @@ # Generated by nginxconfig.io -# {{ location.absUrl() }} +# {{ getUrl() }} user {{ data.user }}; pid {{ data.pid}};