Display another warning for yann300.github.io (redirect users to remix-ide-alpha)

pull/3094/head
Alex Beregszaszi 7 years ago
parent 4cf9eacc44
commit a7122a7270
  1. 4
      src/app.js

@ -196,7 +196,9 @@ module.exports = App
function run () { function run () {
var self = this 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) { window.location.pathname.indexOf('remix-ide-alpha') === 0) {
modalDialogCustom.alert(`This instance of the Remix IDE is an UNSTABLE ALPHA branch.\n 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.`) Please only use it if you know what you are doing, otherwise visit the stable version at http://remix.ethereum.org.`)

Loading…
Cancel
Save