mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
Revert to supporting Service Worker
Former-commit-id: 4f76021cc2cee99b5b8ec907341dc9154f17b78b [formerly 9ff511b4bd9b2d74435439f0e5b3bd8b7e7d42fe] Former-commit-id: ad2bc1435a5eb283538e0ac0d0552a6bebc376cd
This commit is contained in:
parent
ff12ce8990
commit
838c78de97
3
main.js
3
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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user