fix forkbomb issue

This commit is contained in:
Astra 2018-05-07 22:39:26 -04:00
parent d202a31908
commit 6959ab9423

View file

@ -82,7 +82,7 @@
window.__monitor = new electron.BrowserWindow({ show: false }); window.__monitor = new electron.BrowserWindow({ show: false });
// load the monitor // load the monitor
__monitor.loadURL(location.href+'../monitor.html?_=' + Date.now()); __monitor.loadURL(location.href.substr(0, location.href.indexOf('/app/')) + '/monitor.html?_=' + Date.now());
} }
catch (e) { catch (e) {