mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 04:33:58 +01:00
@@ -11,14 +11,14 @@ function getConfig() {
|
||||
$.ajax({
|
||||
url: document.body.dataset.apiurl + "/config/?detailed=true",
|
||||
})
|
||||
.done(function (data) {
|
||||
.done(data => {
|
||||
setConfigValues("", "", data.config);
|
||||
})
|
||||
.fail(function (data) {
|
||||
.fail(data => {
|
||||
apiFailure(data);
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(document).ready(() => {
|
||||
getConfig();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user