Skip to content

Commit

Permalink
Merge pull request #3 from blockscout/rimrakhimov/blockscout-related-…
Browse files Browse the repository at this point in the history
…mods

Remove entry warning
  • Loading branch information
rimrakhimov authored Jan 30, 2024
2 parents f282046 + 05ddcd9 commit b2dc2a9
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ const OriginWarning = () => {
(window.location.hostname === 'ethereum.github.io' && window.location.pathname.indexOf('/remix-live-alpha') === 0)
) {
setContent('Welcome to the Remix alpha instance. Please use it to try out latest features. But use preferably https://remix.ethereum.org for any production work.')
} else if (
window.location.protocol.indexOf('http') === 0 &&
window.location.hostname !== 'remix.ethereum.org' &&
window.location.hostname !== 'localhost' &&
window.location.hostname !== '127.0.0.1'
) {
setContent(`The Remix IDE has moved to http://remix.ethereum.org.\n
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`)
}
}, [])

Expand Down

0 comments on commit b2dc2a9

Please sign in to comment.