Skip to content

Commit 861b2d8

Browse files
committed
feat: fix
1 parent 3ae1631 commit 861b2d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Services/PWAService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function RegisterServiceWorkerScript(): string
3939
<!-- PWA scripts -->
4040
<script src="{$swPath}"></script>
4141
<script>
42+
"use strict";
4243
if ("serviceWorker" in navigator) {
4344
navigator.serviceWorker.register("/sw.js").then(
4445
(registration) => {

0 commit comments

Comments
 (0)