Skip to content

Commit 04ae49f

Browse files
committed
turn off service worker
1 parent a44e6e8 commit 04ae49f

File tree

3 files changed

+6
-42
lines changed

3 files changed

+6
-42
lines changed

apps/gui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nostrwatch/gui",
33
"description": "",
4-
"version": "0.6.56",
4+
"version": "0.6.57",
55
"license": "MIT",
66
"keywords": [
77
"svelte",

apps/gui/src/routes/+layout.svelte

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
3838
window.process = process;
3939
40-
if ('serviceWorker' in navigator) {
41-
addEventListener('load', function () {
42-
navigator.serviceWorker.register('$src/service-worker/index.js');
43-
});
44-
}
40+
// if ('serviceWorker' in navigator) {
41+
// addEventListener('load', function () {
42+
// navigator.serviceWorker.register('$src/service-worker/cors.js');
43+
// });
44+
// }
4545
4646
const IDLE_TIMEOUT_MS = 5 * 60 * 1000;
4747

apps/gui/src/service-worker/index.js

-36
This file was deleted.

0 commit comments

Comments
 (0)