diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2023-05-09 13:12:41 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2023-05-09 15:18:42 +0200 |
commit | df4bd258d2aac19945edb5c3ea1daee281d73bce (patch) | |
tree | 18a48b007be72ce6aca04d1766a1b397800582c2 /main.js | |
parent | 9a73c1e7c30f419cd7c91e52af856f029109fdc0 (diff) |
fix(main) clear cache on startup when in dev mode
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -234,6 +234,10 @@ function createJitsiMeetWindow() { mainWindow.webContents.setWindowOpenHandler(windowOpenHandler); + if (isDev) { + mainWindow.webContents.session.clearCache(); + } + // Block access to file:// URLs. const fileFilter = { urls: [ 'file://*' ] |