Refactor service worker cache array for improved readability by consolidating URL entries into a single line.

This commit is contained in:
2025-12-24 19:57:17 -06:00
parent 6e370ce774
commit bcabd098b5

View File

@@ -1,10 +1,6 @@
/* eslint-env serviceworker */
const CACHE_NAME = 'quad4-linking-tool-v1';
const urlsToCache = [
'/',
'/favicon.svg',
'/manifest.json',
];
const urlsToCache = ['/', '/favicon.svg', '/manifest.json'];
self.addEventListener('install', (event) => {
event.waitUntil(