X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/c9e0e590b0e0f012ce70e5fada12d610866065a4..e653740512b00c37a7fc19d9f41889f0844d6c68:/settings/rpc-servers.php diff --git a/settings/rpc-servers.php b/settings/rpc-servers.php index 5831159..6ab87ba 100644 --- a/settings/rpc-servers.php +++ b/settings/rpc-servers.php @@ -270,7 +270,7 @@ border-radius: 3px; /* The RPC connection tester! */ function test_rpc_server() { - fetch( + 'api/test_rpc_server.php', { + fetch('' + 'api/test_rpc_server.php', { method:'POST', headers: {'Content-Type':'application/x-www-form-urlencoded'}, body: 'method=rpc&'+