From 6959ab9423ca953722f667b2958ec0f9a3a24d21 Mon Sep 17 00:00:00 2001 From: Astra Date: Mon, 7 May 2018 22:39:26 -0400 Subject: [PATCH] fix forkbomb issue --- app/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.html b/app/index.html index 1635135..9bfa7cd 100644 --- a/app/index.html +++ b/app/index.html @@ -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) {