Commit 45be221b authored by yann300's avatar yann300

warn if using https

parent 5b0ef254
...@@ -224,6 +224,10 @@ This instance of Remix you are visiting WILL NOT BE UPDATED.\n ...@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment