From 60317da6d308a2b7c892d6fd5b2ef85a08591e1d Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 1 Mar 2018 11:01:38 +0100 Subject: [PATCH] fix alert msg in remix-alpha --- src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index a4c3bfc171..b8ece07649 100644 --- a/src/app.js +++ b/src/app.js @@ -210,8 +210,8 @@ function run () { if (window.location.hostname === 'yann300.github.io') { modalDialogCustom.alert('This UNSTABLE ALPHA branch of Remix has been moved to http://ethereum.github.io/remix-live-alpha.') - } else if (window.location.hostname === 'ethereum.github.io' && - window.location.pathname.indexOf('/remix-live-alpha') === 0) { + } else if (window.location.hostname === 'remix-alpha.ethereum.org' || + (window.location.hostname === 'ethereum.github.io' && window.location.pathname.indexOf('/remix-live-alpha') === 0)) { modalDialogCustom.alert(`This instance of the Remix IDE is an UNSTABLE ALPHA branch.\n Please only use it if you know what you are doing, otherwise visit the stable version at http://remix.ethereum.org.`) } else if (window.location.protocol.indexOf('http') === 0 &&