From 4cd19dfb6053b107a2251b63480e29b8e16d6f1a Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 14 Jan 2017 00:33:31 +0100 Subject: [PATCH] Update queryads.js --- scripts/pi-hole/js/queryads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/queryads.js b/scripts/pi-hole/js/queryads.js index 6fc06d04..03c3f30d 100644 --- a/scripts/pi-hole/js/queryads.js +++ b/scripts/pi-hole/js/queryads.js @@ -16,7 +16,7 @@ function eventsource() { } var host = window.location.host; - var source = new EventSource("//"+host+"/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact); + var source = new EventSource(/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact); // Reset and show field ta.empty();