Skip to content

Commit c94e233

Browse files
committed
Use const to declare service worker JS variable
1 parent 12fbb69 commit c94e233

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<script>
2-
var serviceWorkerUrl = '{{ U_WEBPUSH_WORKER_URL }}';
2+
const serviceWorkerUrl = '{{ U_WEBPUSH_WORKER_URL }}';
33
</script>
44
{% INCLUDEJS('@phpbb_webpushnotifications/update_worker.js') %}

0 commit comments

Comments
 (0)