From 3e7ad4a4f64b77b55b00b80b4ea0c975ca8d0887 Mon Sep 17 00:00:00 2001 From: Esky33 Date: Fri, 29 Nov 2019 20:09:46 +0000 Subject: [PATCH] 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 --- BTCPayServer/wwwroot/js/vaultbridge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/wwwroot/js/vaultbridge.js b/BTCPayServer/wwwroot/js/vaultbridge.js index 4394ab028..d27e90653 100644 --- a/BTCPayServer/wwwroot/js/vaultbridge.js +++ b/BTCPayServer/wwwroot/js/vaultbridge.js @@ -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(); }); }