Skip to content

Commit

Permalink
Use const to declare service worker JS variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu committed May 26, 2024
1 parent 12fbb69 commit c94e233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/prosilver/template/event/overall_footer_after.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
var serviceWorkerUrl = '{{ U_WEBPUSH_WORKER_URL }}';
const serviceWorkerUrl = '{{ U_WEBPUSH_WORKER_URL }}';
</script>
{% INCLUDEJS('@phpbb_webpushnotifications/update_worker.js') %}

0 comments on commit c94e233

Please sign in to comment.