diff --git a/app/index.html b/app/index.html index dbbcb83..8f2c6e2 100644 --- a/app/index.html +++ b/app/index.html @@ -108,7 +108,9 @@ } // temporary - if (branch != 'canary') { + try{ + let a="a"; let b = "b"; ({...a,b}); + }catch(e){ alert('EndPwn3.1 Staging uses crxpwn which only works on Canary at the moment', 'Sorry'); electron.getCurrentWindow().loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me'); return;