Revert to supporting Service Worker

Former-commit-id: 4f76021cc2cee99b5b8ec907341dc9154f17b78b [formerly 9ff511b4bd9b2d74435439f0e5b3bd8b7e7d42fe]
Former-commit-id: ad2bc1435a5eb283538e0ac0d0552a6bebc376cd
This commit is contained in:
Jaifroid 2019-07-26 14:10:00 +01:00
parent ff12ce8990
commit 838c78de97

View File

@ -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) => {