Merge pull request #1145 from ethereum/warnifhttpsused

Warn if using https
pull/3094/head
yann300 7 years ago committed by GitHub
commit 861eaf23f3
  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`) 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) { function importExternal (url, cb) {
handleImports.import(url, handleImports.import(url,
(loadingMsg) => { (loadingMsg) => {

Loading…
Cancel
Save