mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[mod] move spectre/meltdown check to diagnosis
This commit is contained in:
parent
ec4172a2d3
commit
58eb64bfae
1 changed files with 3 additions and 2 deletions
|
@ -71,8 +71,9 @@
|
|||
c.flash('fail', y18n.t('error_retrieve_feed', [securityFeed]));
|
||||
});
|
||||
|
||||
c.api("/meltdown-spectre-check", function(data) {
|
||||
if (!data.safe) {
|
||||
c.api("/diagnosis", function(data) {
|
||||
console.log(data);
|
||||
if (data.security["spectre-meltdown"]) {
|
||||
c.flash('danger', y18n.t('meltdown_spectre'));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue