From 05ddcd99957964d00a236bf694b452a118c2cc6f Mon Sep 17 00:00:00 2001 From: Rim Rakhimov Date: Mon, 29 Jan 2024 11:55:02 +0400 Subject: [PATCH] Remove warning about unknown host --- .../lib/remix-app/components/modals/origin-warning.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/remix-ui/app/src/lib/remix-app/components/modals/origin-warning.tsx b/libs/remix-ui/app/src/lib/remix-app/components/modals/origin-warning.tsx index f36e5f09383..5d8d06e64c2 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/modals/origin-warning.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/modals/origin-warning.tsx @@ -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`) } }, [])