Revert jsonrpc proxy headers change just in case

This commit is contained in:
shamoon 2024-08-29 11:27:42 -07:00
parent 6921a3f6e2
commit 4a0b18bc68

View File

@ -10,8 +10,8 @@ const logger = createLogger("jsonrpcProxyHandler");
export async function sendJsonRpcRequest(url, method, params, widget) { export async function sendJsonRpcRequest(url, method, params, widget) {
const headers = { const headers = {
Accept: "application/json-rpc", "content-type": "application/json",
"Content-Type": "application/json-rpc", accept: "application/json",
}; };
if (widget.username && widget.password) { if (widget.username && widget.password) {