diff --git a/client/index.js b/client/index.js
index e709ffe4..3b304042 100644
--- a/client/index.js
+++ b/client/index.js
@@ -13,18 +13,9 @@ var util = require('./util')
global.WEBTORRENT_ANNOUNCE = [ 'wss://tracker.webtorrent.io', 'wss://tracker.btorrent.xyz' ]
var getClient = thunky(function (cb) {
- getRtcConfig('/rtcConfig', function (err, rtcConfig) {
- if (err && window.location.hostname === 'instant.io') {
- if (err) util.error(err)
- createClient(rtcConfig)
- } else if (err) {
- getRtcConfig('https://instant.io/rtcConfig', function (err, rtcConfig) {
- if (err) util.error(err)
- createClient(rtcConfig)
- })
- } else {
- createClient(rtcConfig)
- }
+ getRtcConfig('https://instant.io/rtcConfig', function (err, rtcConfig) {
+ if (err) util.error(err)
+ createClient(rtcConfig)
})
function createClient (rtcConfig) {
diff --git a/index.html b/index.html
index 60d1a0e4..e44ff831 100644
--- a/index.html
+++ b/index.html
@@ -28,6 +28,8 @@
-
+