warn if using https

pull/1/head
yann300 7 years ago
parent 5b0ef25407
commit 45be221b06
  1. 4
      src/app.js

@ -224,6 +224,10 @@ This instance of Remix you are visiting WILL NOT BE UPDATED.\n
Please make a backup of your contracts and start using http://remix.ethereum.org`)
}
if (window.location.protocol.indexOf('https') === 0) {
toolTip('You are using an `https` connection. Please switch to `http` if you are using Remix against an `http Web3 provider` or allow Mixed Content in your browser.')
}
function importExternal (url, cb) {
handleImports.import(url,
(loadingMsg) => {

Loading…
Cancel
Save