Skip to content

Commit

Permalink
refactor: update walletconnection url
Browse files Browse the repository at this point in the history
  • Loading branch information
fx0x55 committed Jun 29, 2023
1 parent 11216a8 commit 4021700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { openWarningModal } from '../modals'
// @ts-ignore
const instanceChainIdStr = document.getElementById('js-chain-id').value
const instanceChainId = parseInt(instanceChainIdStr, 10)
const walletConnectOptions = { rpc: {}, chainId: instanceChainId }
const walletConnectOptions = { rpc: {}, chainId: instanceChainId, bridge: 'https://wallet-connect.pundix.com/bridge/' }
// @ts-ignore
const jsonRPC = document.getElementById('js-json-rpc').value
walletConnectOptions.rpc[instanceChainId] = jsonRPC
Expand Down
2 changes: 1 addition & 1 deletion apps/block_scout_web/lib/block_scout_web/csp_header.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule BlockScoutWeb.CSPHeader do
czilladx_url = "https://request-global.czilladx.com"
coinzillatag_url = "https://coinzillatag.com"
trustwallet_url = "https://raw.githubusercontent.com/trustwallet/assets/"
walletconnect_urls = "wss://*.bridge.walletconnect.org https://registry.walletconnect.org/data/wallets.json"
walletconnect_urls = "https://wallet-connect.pundix.com/bridge/ wss://*.bridge.walletconnect.org https://registry.walletconnect.org/data/wallets.json"
json_rpc_url = Application.get_env(:block_scout_web, :json_rpc)

Controller.put_secure_browser_headers(conn, %{
Expand Down

0 comments on commit 4021700

Please sign in to comment.