mirror of https://github.com/perkeep/perkeep.git
prettier discovery debug output
Change-Id: I6a3a8e9370526dc0fd550d09a737844c7f32f767
This commit is contained in:
parent
c32fec03e1
commit
ec817d3c0f
|
@ -16,7 +16,7 @@ function discover() {
|
|||
return;
|
||||
}
|
||||
disco = JSON.parse(xhr.responseText);
|
||||
document.getElementById("discores").innerHTML = JSON.stringify(disco);
|
||||
document.getElementById("discores").innerHTML = "<pre>" + JSON.stringify(disco, null, 2) + "</pre>";
|
||||
};
|
||||
xhr.open("GET", "./?camli.mode=config", true);
|
||||
xhr.send();
|
||||
|
|
|
@ -9,7 +9,7 @@ function discoverJsonSign() {
|
|||
return;
|
||||
}
|
||||
sigdisco = JSON.parse(xhr.responseText);
|
||||
document.getElementById("sigdiscores").innerHTML = JSON.stringify(sigdisco);
|
||||
document.getElementById("sigdiscores").innerHTML = "<pre>" + JSON.stringify(sigdisco, null, 2) + "</pre>";
|
||||
};
|
||||
xhr.open("GET", disco.jsonSignRoot + "/camli/sig/discovery", true);
|
||||
xhr.send();
|
||||
|
|
Loading…
Reference in New Issue