mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Remove remaining absolute paths
Signed-off-by: Linus <wendefelix1998@gmail.com>
This commit is contained in:
@@ -38,12 +38,12 @@ function eventsource() {
|
|||||||
|
|
||||||
// IE does not support EventSource - load whole content at once
|
// IE does not support EventSource - load whole content at once
|
||||||
if (typeof EventSource !== "function") {
|
if (typeof EventSource !== "function") {
|
||||||
httpGet(ta,"/admin/scripts/pi-hole/php/debug.php?IE&token="+token+"&"+checked);
|
httpGet(ta,"scripts/pi-hole/php/debug.php?IE&token="+token+"&"+checked);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var host = window.location.host;
|
var host = window.location.host;
|
||||||
var source = new EventSource("/admin/scripts/pi-hole/php/debug.php?&token="+token+"&"+checked);
|
var source = new EventSource("scripts/pi-hole/php/debug.php?&token="+token+"&"+checked);
|
||||||
|
|
||||||
// Reset and show field
|
// Reset and show field
|
||||||
ta.empty();
|
ta.empty();
|
||||||
|
|||||||
@@ -74,12 +74,12 @@ function eventsource() {
|
|||||||
|
|
||||||
// IE does not support EventSource - load whole content at once
|
// IE does not support EventSource - load whole content at once
|
||||||
if (typeof EventSource !== "function") {
|
if (typeof EventSource !== "function") {
|
||||||
httpGet(ta,quiet,"/admin/scripts/pi-hole/php/queryads.php?domain="+domain.toLowerCase()+exact+"&IE");
|
httpGet(ta,quiet,"scripts/pi-hole/php/queryads.php?domain="+domain.toLowerCase()+exact+"&IE");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var host = window.location.host;
|
var host = window.location.host;
|
||||||
var source = new EventSource("/admin/scripts/pi-hole/php/queryads.php?domain="+domain.toLowerCase()+"&"+exact);
|
var source = new EventSource("scripts/pi-hole/php/queryads.php?domain="+domain.toLowerCase()+"&"+exact);
|
||||||
|
|
||||||
// Reset and show field
|
// Reset and show field
|
||||||
ta.empty();
|
ta.empty();
|
||||||
|
|||||||
Reference in New Issue
Block a user