mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47:50 +01:00
Update vaultbridge.js
replace localhost with 127.0.0.1 fixes BTCPay Vault in Apple Safari browser Version 13.0.3 macOS Catalina 10.15.1 (19B88) thanks to Nicolas
This commit is contained in:
parent
d2357ee8b9
commit
3e7ad4a4f6
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
};
|
||||
request.overrideMimeType("text/plain");
|
||||
request.open('POST', 'http://localhost:65092/hwi-bridge/v1');
|
||||
request.open('POST', 'http://127.0.0.1:65092/hwi-bridge/v1');
|
||||
request.send(JSON.stringify(jsonObject));
|
||||
}
|
||||
else {
|
||||
|
@ -87,7 +87,7 @@
|
|||
}
|
||||
};
|
||||
request.overrideMimeType("text/plain");
|
||||
request.open('GET', 'http://localhost:65092/hwi-bridge/v1/request-permission');
|
||||
request.open('GET', 'http://127.0.0.1:65092/hwi-bridge/v1/request-permission');
|
||||
request.send();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue