mirror of https://gitee.com/bigwinds/arangodb
fuerte move resulted in broken inspector
This commit is contained in:
parent
b8dcf51631
commit
7f7e4e04fd
|
@ -340,7 +340,7 @@ function range(start, end) {
|
||||||
|
|
||||||
function loadAgency(conn, seen) {
|
function loadAgency(conn, seen) {
|
||||||
|
|
||||||
var agencyDump = conn.POST_RAW("/_api/agency/read", '[["/"]]');
|
var agencyDump = conn.POST("/_api/agency/read", [["/"]]);
|
||||||
seen[conn.getEndpoint()] = true;
|
seen[conn.getEndpoint()] = true;
|
||||||
|
|
||||||
if (agencyDump.code === 404) {
|
if (agencyDump.code === 404) {
|
||||||
|
@ -349,7 +349,7 @@ function loadAgency(conn, seen) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (agencyDump.code === 307) {
|
if (agencyDump.code === 307) {
|
||||||
var red = conn.POST_RAW("/_api/agency/read", '[["/"]]');
|
var red = conn.POST("/_api/agency/read", [["/"]]);
|
||||||
|
|
||||||
if (red.code === 307) {
|
if (red.code === 307) {
|
||||||
INFO("got redirect to " + red.headers.location);
|
INFO("got redirect to " + red.headers.location);
|
||||||
|
|
Loading…
Reference in New Issue