fix forkbomb issue

This commit is contained in:
Astra 2018-05-07 22:39:26 -04:00
parent d202a31908
commit 6959ab9423
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@
window.__monitor = new electron.BrowserWindow({ show: false });
// 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) {