maatma: Display a message for domain without dnssec
This commit is contained in:
parent
6e89a8011f
commit
52b218f2ea
3 changed files with 21 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
const dn_without_dnssec = ["driivve.com.", "driivee.cloud."];
|
||||
|
||||
function dn_has_dnssec(dn) {
|
||||
return dn_without_dnssec.reduce((s, e) => (s && dn.indexOf(e) === -1), true)
|
||||
}
|
||||
|
||||
const tuto_legend = {
|
||||
"danger": "Test jamais réussi",
|
||||
"warning": "Test réussi il y a plus de 5 minutes",
|
||||
|
|
|
@ -644,6 +644,9 @@ angular.module("AdLinApp")
|
|||
})
|
||||
|
||||
.controller("DSDomainsController", function($scope, $http) {
|
||||
$scope.dn_has_dnssec = dn_has_dnssec;
|
||||
$scope.dn_without_dnssec = dn_without_dnssec;
|
||||
console.log(dn_without_dnssec)
|
||||
var updateDS = function() {
|
||||
$http({
|
||||
method: 'GET',
|
||||
|
|
Reference in a new issue