use local version.json for remix live

pull/2889/head
yann300 2 years ago
parent a1d888ae24
commit d7fe4e66ec
  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