From 838c78de97b3fd163cc98bb6702a839b38cf1522 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 26 Jul 2019 14:10:00 +0100 Subject: [PATCH] Revert to supporting Service Worker Former-commit-id: 4f76021cc2cee99b5b8ec907341dc9154f17b78b [formerly 9ff511b4bd9b2d74435439f0e5b3bd8b7e7d42fe] Former-commit-id: ad2bc1435a5eb283538e0ac0d0552a6bebc376cd --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index d551ffaf..63af0bcd 100644 --- a/main.js +++ b/main.js @@ -32,7 +32,8 @@ function createWindow() { }); // and load the index.html of the app. - mainWindow.loadURL('app://www/index.html'); + // mainWindow.loadURL('app://www/index.html'); + mainWindow.loadFile('www/index.html'); // DEV: Enable code below to check cookies saved by app in console log // mainWindow.webContents.on('did-finish-load', function() { // mainWindow.webContents.session.cookies.get({}, (error, cookies) => {