]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix up dnsdist javascript to the new /api/v1/ URLs
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 5 Dec 2015 10:18:35 +0000 (11:18 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 5 Dec 2015 10:18:35 +0000 (11:18 +0100)
pdns/dnsdistdist/html/local.js

index 6937d6c44eb321f5ac6cb2b5851573e9298265cf..8a54533da80a5fb50d8f41ce6251c7028ac6de0a 100644 (file)
@@ -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="<table><tr align=right><th>#</th><th align=left>Name</th><th align=left>Address</th><th>Status</th><th>Queries</th><th>Drops</th><th>QPS</th><th>Out</th><th>Weight</th><th>Order</th><th align=left>Pools</th></tr>";