Skip to content

Commit

Permalink
Display another warning for yann300.github.io (redirect users to remi…
Browse files Browse the repository at this point in the history
…x-ide-alpha)
  • Loading branch information
axic committed Feb 9, 2018
1 parent 1253b06 commit e915db5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ module.exports = App
function run () {
var self = this

if (window.location.hostname === 'ethereum.github.io' &&
if (window.location.hostname === 'yann300.github.io') {
modalDialogCustom.alert(`This UNSTABLE ALPHA branch of Remix has been moved to http://ethereum.github.io/remix-ide-alpha.`)
} else if (window.location.hostname === 'ethereum.github.io' &&
window.location.pathname.indexOf('remix-ide-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.`)
Expand Down

0 comments on commit e915db5

Please sign in to comment.