mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove the service worker.
This commit is contained in:
@@ -76,17 +76,5 @@
|
||||
<noscript><p><img src="//{{ config('firefly.tracker_url') }}/matomo.php?idsite={{ config('firefly.tracker_site_id') }}&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
{% endif %}
|
||||
|
||||
<script nonce="{{ JS_NONCE }}">
|
||||
// Initialize the service worker
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('serviceworker.js?v={{ FF_VERSION }}', {
|
||||
scope: '{{ route('index') }}'
|
||||
}).then(
|
||||
() => console.log('ServiceWorker registration successful'),
|
||||
(err) => console.log('ServiceWorker registration failed: ', err)
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user