mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Revert jsonrpc proxy headers change just in case
This commit is contained in:
@@ -10,8 +10,8 @@ const logger = createLogger("jsonrpcProxyHandler");
|
||||
|
||||
export async function sendJsonRpcRequest(url, method, params, widget) {
|
||||
const headers = {
|
||||
Accept: "application/json-rpc",
|
||||
"Content-Type": "application/json-rpc",
|
||||
"content-type": "application/json",
|
||||
accept: "application/json",
|
||||
};
|
||||
|
||||
if (widget.username && widget.password) {
|
||||
|
||||
Reference in New Issue
Block a user