temp lock canary frontend to build 15301

This commit is contained in:
Astra 2018-05-16 18:33:55 -04:00
parent 16ba644be8
commit 61552afd6e

View file

@ -45,7 +45,10 @@
function load() {
var branch = require('path').basename(data).substr(7);
win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
if (branch != 'canary')
win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
else
win.loadURL('https://dr1ft.xyz/channels/@me'); // emergency, ugly, temp fix
}
// dont update EPAPI/CRISPR if DONTUPDATE exists