Revert jsonrpc proxy headers change just in case
This commit is contained in:
parent
6921a3f6e2
commit
4a0b18bc68
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user