X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/41aad10cbe0755aee50f597cb2cadd3029de7e1d..1a6051dbe0c8afe3247c45432db941e2f69ab449:/settings/rpc-servers.php diff --git a/settings/rpc-servers.php b/settings/rpc-servers.php index 0840eb0..8ca94d3 100644 --- a/settings/rpc-servers.php +++ b/settings/rpc-servers.php @@ -226,7 +226,7 @@ you can switch to a secondary server in case the primary server goes down.
/* The RPC connection tester! */ function test_rpc_server() { - fetch( + 'api/installation2.php', { + fetch( + 'api/test_rpc_server.php', { method:'POST', headers: {'Content-Type':'application/x-www-form-urlencoded'}, body: 'method=rpc&'+