toggle redirect

This commit is contained in:
Szekeres Bálint
2018-03-09 23:38:32 +01:00
parent cd0b0b4be6
commit 72740475a7
3 changed files with 16 additions and 3 deletions

View File

@@ -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;
};