From 33cfd24a8e8fa92b7e474529295e399378fbcdac Mon Sep 17 00:00:00 2001 From: Jiiks Date: Wed, 2 Dec 2015 01:55:31 +0200 Subject: [PATCH] Local paths --- lib/BetterDiscord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/BetterDiscord.js b/lib/BetterDiscord.js index 55243d7a..df63b465 100644 --- a/lib/BetterDiscord.js +++ b/lib/BetterDiscord.js @@ -239,7 +239,7 @@ BetterDiscord.prototype.ipcAsyncMessage = function(event, arg) { 'resource': 'Main CSS', 'domain': _updater.CDN, 'url': '//' + _updater.CDN + '/' + _repo + '/BetterDiscordApp/' + _hash + '/css/main.min.css', - 'localurl': '', + 'localurl': _localServer + '/BetterDiscord/css/main.css', 'message': 'load-mainJS', 'cacheable': false, 'variable': null @@ -249,7 +249,7 @@ BetterDiscord.prototype.ipcAsyncMessage = function(event, arg) { 'resource': 'Main JS', 'domain': _updater.CDN, 'url': '//' + _updater.CDN + '/' + _repo + '/BetterDiscordApp/' + _hash + '/js/main.min.js', - 'localurl': '', + 'localurl': _localServer + '/BetterDiscord/js/main.js', 'message': 'load-publicServers', 'cacheable': false, 'variable': null