Update queryads.js

This commit is contained in:
Martin
2017-01-14 00:22:56 +01:00
committed by GitHub
parent fed83cb49f
commit bd7be220b5

View File

@@ -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();