diff --git a/scripts/pi-hole/js/login.js b/scripts/pi-hole/js/login.js index 0be71e2e..2ec37cb0 100644 --- a/scripts/pi-hole/js/login.js +++ b/scripts/pi-hole/js/login.js @@ -26,8 +26,8 @@ function computeResponse(password, challenge) { function redirect() { // Login succeeded or not needed (empty password) - // Default: Send back to index.lp (dashboard) - var target = "index.lp"; + // Default: Send back to dashboard + var target = "."; // If DNS failure: send to Pi-hole diagnosis messages page if ($("#dns-failure-label").is(":visible")) { diff --git a/scripts/pi-hole/js/taillog.js b/scripts/pi-hole/js/taillog.js index 1650e9cd..a2b0d75f 100644 --- a/scripts/pi-hole/js/taillog.js +++ b/scripts/pi-hole/js/taillog.js @@ -100,7 +100,7 @@ function getData() { }) .fail(function (data) { apiFailure(data); - window.setTimeout(getData, 5*interval); + window.setTimeout(getData, 5 * interval); }); }