jcwallet/patches/@walletconnect+socket-transport+1.8.0.patch
2022-08-19 17:06:16 +08:00

14 lines
704 B
Diff

diff --git a/node_modules/@walletconnect/socket-transport/dist/esm/index.js b/node_modules/@walletconnect/socket-transport/dist/esm/index.js
index 9a6cc32..511b4b0 100644
--- a/node_modules/@walletconnect/socket-transport/dist/esm/index.js
+++ b/node_modules/@walletconnect/socket-transport/dist/esm/index.js
@@ -176,7 +176,7 @@ function getWebSocketUrl(_url, protocol, version) {
protocol,
version,
env: "browser",
- host: ((_a = getLocation()) === null || _a === void 0 ? void 0 : _a.host) || "",
+ host: ((_a = getLocation()) === null || _a === void 0 ? void 0 : _a.host) || "www.cebg.games",
}
: {
protocol,