using baseURL from single source

pull/11/head
LianaHus 5 years ago committed by ioedeveloper
parent 726cbb2145
commit d1d0ad4ed7
  1. 4
      apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js

@ -6,7 +6,7 @@ const addTooltip = require('../../ui/tooltip')
const semver = require('semver') const semver = require('semver')
const modalDialogCustom = require('../../ui/modal-dialog-custom') const modalDialogCustom = require('../../ui/modal-dialog-custom')
const css = require('../styles/compile-tab-styles') const css = require('../styles/compile-tab-styles')
import { canUseWorker } from '../../compiler/compiler-utils' import { canUseWorker, baseUrl } from '../../compiler/compiler-utils'
class CompilerContainer { class CompilerContainer {
@ -25,7 +25,7 @@ class CompilerContainer {
allversions: null, allversions: null,
selectedVersion: null, selectedVersion: null,
defaultVersion: 'soljson-v0.6.6+commit.6c089d02.js', // this default version is defined: in makeMockCompiler (for browser test) and in package.json (downloadsolc_root) for the builtin compiler defaultVersion: 'soljson-v0.6.6+commit.6c089d02.js', // this default version is defined: in makeMockCompiler (for browser test) and in package.json (downloadsolc_root) for the builtin compiler
baseurl: 'https://solc-bin.ethereum.org/bin' baseurl: baseUrl
} }
} }

Loading…
Cancel
Save