From 5fd671d624cae124f7dea737815eb3e481b744b6 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Thu, 7 May 2020 17:43:15 +0200 Subject: [PATCH] using baseURL from single source --- src/app/tabs/compileTab/compilerContainer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tabs/compileTab/compilerContainer.js b/src/app/tabs/compileTab/compilerContainer.js index 5c51fd8ce9..46e4967926 100644 --- a/src/app/tabs/compileTab/compilerContainer.js +++ b/src/app/tabs/compileTab/compilerContainer.js @@ -6,7 +6,7 @@ const addTooltip = require('../../ui/tooltip') const semver = require('semver') const modalDialogCustom = require('../../ui/modal-dialog-custom') const css = require('../styles/compile-tab-styles') -import { canUseWorker } from '../../compiler/compiler-utils' +import { canUseWorker, baseUrl } from '../../compiler/compiler-utils' class CompilerContainer { @@ -25,7 +25,7 @@ class CompilerContainer { allversions: 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 - baseurl: 'https://solc-bin.ethereum.org/bin' + baseurl: baseUrl } }