Skip to content

Commit b9b9717

Browse files
author
Dennis Labordus
committed
Removed Service Worker, offline mode interfere security layer.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent f4a65a5 commit b9b9717

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
};
3434
</script>
3535
<script type="module" src="./src/open-scd.js"></script>
36-
<script>
37-
if ('serviceWorker' in navigator)
38-
navigator.serviceWorker.register('/sw.js');
39-
</script>
4036
</body>
4137

4238
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"release:patch": "standard-version --release-as patch",
6666
"release:major": "standard-version --release-as major",
6767
"build": "npm run test && npm run build:notest && cp .nojekyll build/",
68-
"build:notest": "npm run doc && snowpack build && workbox generateSW workbox-config.cjs",
68+
"build:notest": "npm run doc && snowpack build",
6969
"start": "snowpack dev"
7070
},
7171
"devDependencies": {

sw.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

workbox-config.cjs

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)