Skip to content

Commit

Permalink
Merge pull request #2877 from ethereum/fix_fetch_electron
Browse files Browse the repository at this point in the history
fix fetch for electron
  • Loading branch information
bunsenstraat authored Sep 6, 2022
2 parents f1506b5 + 0d1829d commit 96fc02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/assets/js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96fc02e

Please sign in to comment.