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() { function load() {
var branch = require('path').basename(data).substr(7); var branch = require('path').basename(data).substr(7);
if (branch != 'canary')
win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me'); 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 // dont update EPAPI/CRISPR if DONTUPDATE exists