aboutsummaryrefslogtreecommitdiffstats
path: root/library/lib/setup-provider.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/lib/setup-provider.js')
-rw-r--r--library/lib/setup-provider.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/lib/setup-provider.js b/library/lib/setup-provider.js
index ced07e0f0..9efd209cb 100644
--- a/library/lib/setup-provider.js
+++ b/library/lib/setup-provider.js
@@ -13,8 +13,9 @@ function getProvider(){
console.log('MetaMask ZeroClient - injecting zero-client iframe!')
var iframeStream = setupIframe({
- zeroClientProvider: 'http://localhost:9001',
+ zeroClientProvider: 'http://127.0.0.1:9001',
sandboxAttributes: ['allow-scripts', 'allow-popups', 'allow-same-origin'],
+ container: document.body,
})
var inpageProvider = new MetamaskInpageProvider(iframeStream)