Implement DNS control (enable/disable blocking, possibly with a given timeout)

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-05-07 09:04:24 +02:00
parent 4d3d64b904
commit bb7a75815b
3 changed files with 63 additions and 44 deletions

View File

@@ -5,6 +5,8 @@
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
/* global apiFailure:false */
// eslint-disable-next-line no-unused-vars
var groups = [];
@@ -17,5 +19,8 @@ function getGroups() {
success: function (data) {
groups = data.groups;
},
error: function (data) {
apiFailure(data);
},
});
}