From 00b07df940aea0f74e433fec2a68b91203d2c0d2 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 15 Apr 2016 20:06:13 +0200 Subject: [PATCH] Move binaries to gh-pages to fix mime type issue. --- assets/js/app.js | 4 ++-- index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 1f06212356..2f399832ed 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -559,13 +559,13 @@ // "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium, // resort to non-worker version in that case. initializeWorker(); - worker.postMessage({cmd: 'loadVersion', data: 'https://github.com/ethereum/solc-bin/raw/master/bin/' + version}); + worker.postMessage({cmd: 'loadVersion', data: 'https://ethereum.github.io/solc-bin/bin/' + version}); } else { Module = null; compileJSON = function(source, optimize) { compilationFinished('{}'); }; var newScript = document.createElement('script'); newScript.type = 'text/javascript'; - newScript.src = 'https://github.com/ethereum/solc-bin/raw/master/bin/' + version; + newScript.src = 'https://ethereum.github.io/solc-bin/bin/' + version; document.getElementsByTagName("head")[0].appendChild(newScript); var check = window.setInterval(function() { if (!Module) return; diff --git a/index.html b/index.html index 96ade7497e..ab0e5fbb6b 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@ - +