From: bert hubert Date: Sat, 5 Dec 2015 10:18:35 +0000 (+0100) Subject: fix up dnsdist javascript to the new /api/v1/ URLs X-Git-Tag: dnsdist-1.0.0-alpha1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f16cb36c7f6a326ae69d0b34985529a4bfb483a;p=thirdparty%2Fpdns.git fix up dnsdist javascript to the new /api/v1/ URLs --- diff --git a/pdns/dnsdistdist/html/local.js b/pdns/dnsdistdist/html/local.js index 6937d6c44e..8a54533da8 100644 --- a/pdns/dnsdistdist/html/local.js +++ b/pdns/dnsdistdist/html/local.js @@ -184,7 +184,7 @@ $(document).ready(function() { }, }); - $.ajax({ url: 'servers/localhost', type: 'GET', dataType: 'json', + $.ajax({ url: 'api/v1/servers/localhost', type: 'GET', dataType: 'json', success: function(data) { $("#version").text(data["daemon_type"]+" "+data["version"]); var bouw="";
#NameAddressStatusQueriesDropsQPSOutWeightOrderPools