diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index f7dd854..4bb654d 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '3.0.48', + version: '3.0.49', description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.' } diff --git a/ts_web_serviceworker_client/classes.serviceworkerclient.ts b/ts_web_serviceworker_client/classes.serviceworkerclient.ts index 33dfaf0..c729741 100644 --- a/ts_web_serviceworker_client/classes.serviceworkerclient.ts +++ b/ts_web_serviceworker_client/classes.serviceworkerclient.ts @@ -13,7 +13,7 @@ export class ServiceworkerClient { logger.log('info', 'trying to register serviceworker'); // this is some magic for Parcel to not pick up the serviceworker const serviceworkerInNavigator: ServiceWorkerContainer = navigator.serviceWorker; - const swRegistration: ServiceWorkerRegistration = await serviceworkerInNavigator.register('/serviceworker.js', { + const swRegistration: ServiceWorkerRegistration = await serviceworkerInNavigator.register('/serviceworker.bundle.js', { scope: '/', updateViaCache: 'none' });