diff --git a/public/assets/js/app.js b/public/assets/js/app.js index e654c16..5eef3ab 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -35,6 +35,7 @@ https: false, http2: true, + redirect: true, force_https: true, cert_type: 'letsencrypt', @@ -292,6 +293,10 @@ return !$scope.isNonWWW(); }; + $scope.isRedirect = function() { + return $scope.data.redirect; + }; + $scope.isCDN = function() { return $scope.isWWW() && $scope.data.cdn; }; diff --git a/public/index.html b/public/index.html index 47df12b..a78b902 100644 --- a/public/index.html +++ b/public/index.html @@ -62,6 +62,14 @@ non-www +