mirror of
https://github.com/pi-hole/web.git
synced 2025-12-21 03:08:36 +00:00
Update queryads.js
This commit is contained in:
@@ -16,7 +16,7 @@ function eventsource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var host = window.location.host;
|
var host = window.location.host;
|
||||||
var source = new EventSource("scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact);
|
var source = new EventSource("//"+host+"/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact);
|
||||||
|
|
||||||
// Reset and show field
|
// Reset and show field
|
||||||
ta.empty();
|
ta.empty();
|
||||||
|
|||||||
Reference in New Issue
Block a user