From 454470b1f9871a5515c8f81ceeba81d90b5a4ccc Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 26 Nov 2015 16:16:14 +0100 Subject: [PATCH] Maurice Makaay spotted that dnsdist built-in-webserver URLs were needlessly absolute. They are relative now. Thanks! --- pdns/dnsdistdist/html/local.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pdns/dnsdistdist/html/local.js b/pdns/dnsdistdist/html/local.js index 1e9225b2c..51df5a357 100644 --- a/pdns/dnsdistdist/html/local.js +++ b/pdns/dnsdistdist/html/local.js @@ -49,7 +49,7 @@ $(document).ready(function() { function updateRingBuffers() { var filtered=$("#filter1").is(':checked') - var qstring='/jsonstat?command=get-query-ring&name=queries'; + var qstring='jsonstat?command=get-query-ring&name=queries'; if(filtered) qstring=qstring+"&public-filtered=1"; @@ -77,7 +77,7 @@ $(document).ready(function() { }); filtered=$("#filter2").is(':checked') - qstring='/jsonstat?command=get-query-ring&name=servfail-queries'; + qstring='jsonstat?command=get-query-ring&name=servfail-queries'; if(filtered) qstring=qstring+"&public-filtered=1"; @@ -101,7 +101,7 @@ $(document).ready(function() { }); - $.getJSON('/jsonstat?command=get-remote-ring&name=remotes', + $.getJSON('jsonstat?command=get-remote-ring&name=remotes', function(data) { var bouw=""; var num=0, total=0, rest=0; @@ -119,7 +119,7 @@ $(document).ready(function() { }); - $.getJSON('/jsonstat?command=get-remote-ring&name=servfail-remotes', + $.getJSON('jsonstat?command=get-remote-ring&name=servfail-remotes', function(data) { var bouw="
NumberRemote
"; var num=0, total=0, rest=0; @@ -144,7 +144,7 @@ $(document).ready(function() { { $.ajax({ - url: '/jsonstat?command=stats', + url: 'jsonstat?command=stats', type: 'GET', dataType: 'jsonp', success: function(data, x, y) { @@ -184,7 +184,7 @@ $(document).ready(function() { }, }); - $.ajax({ url: '/servers/localhost', type: 'GET', dataType: 'json', + $.ajax({ url: 'servers/localhost', type: 'GET', dataType: 'json', success: function(data) { $("#version").text("PowerDNS "+data["daemon_type"]+" "+data["version"]); var bouw="
NumberServfail Remote
"; -- 2.40.0
#NameAddressStatusQueriesDropsQPSOutWeightOrderPools