use local version.json for remix live

pull/5370/head
yann300 2 years ago
parent 4e8d93819d
commit 72244ac01c
  1. 2
      apps/remix-ide/src/assets/js/loader.js

@ -45,7 +45,7 @@ function isElectron() {
return false
}
const versionUrl = isElectron() ? 'https://remix.ethereum.org/assets/version.json' : 'assets/version.json'
const versionUrl = 'assets/version.json'
fetch(versionUrl, { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);

Loading…
Cancel
Save