From aafe65c13a041f4b6de143f7804559bcfb1e879f Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 26 Feb 2018 13:24:45 +0100 Subject: [PATCH] Update app.js --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 7def44c7c4..dfb760ed60 100644 --- a/src/app.js +++ b/src/app.js @@ -205,7 +205,7 @@ 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) { + 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 &&