diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-09-08 23:00:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 23:00:36 +0530 |
commit | 1e6263d1af1de9059071456d743d126a8aebc0e9 (patch) | |
tree | 4512c804eb650e6eab7ecbdbe8eedfc2f737f7ce /recipes/msteams/webview.js | |
parent | refactor: use the exposed methods for session handling from the main repo (diff) | |
download | ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.tar.gz ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.tar.zst ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.zip |
Expose 'known certificate hosts' in ms teams and outlook to try to fix certificate expiry issue (#675)
Diffstat (limited to 'recipes/msteams/webview.js')
-rw-r--r-- | recipes/msteams/webview.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/msteams/webview.js b/recipes/msteams/webview.js index bf25562..786cd9b 100644 --- a/recipes/msteams/webview.js +++ b/recipes/msteams/webview.js | |||
@@ -2,6 +2,11 @@ const _path = _interopRequireDefault(require('path')); | |||
2 | 2 | ||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | 4 | ||
5 | window.addEventListener('beforeunload', async () => { | ||
6 | Ferdi.clearStorageData(['appcache', 'serviceworkers', 'cachestorage', 'websql', 'indexdb']); | ||
7 | Ferdi.releaseServiceWorkers(); | ||
8 | }); | ||
9 | |||
5 | module.exports = Ferdi => { | 10 | module.exports = Ferdi => { |
6 | const getMessages = () => { | 11 | const getMessages = () => { |
7 | let messages = 0; | 12 | let messages = 0; |