diff --git a/js/pihole/queryads.js b/js/pihole/queryads.js index 86822e51..e8b91be4 100644 --- a/js/pihole/queryads.js +++ b/js/pihole/queryads.js @@ -16,7 +16,7 @@ function eventsource() { } var host = window.location.host; - var source = new EventSource("http://"+host+"/admin/php/queryads.php?domain="+domain.val()+"&"+exact); + var source = new EventSource("http://"+host+"/admin/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact); // Reset and show field ta.empty();