diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 4bb654d..bf6fd00 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.49', + version: '3.0.50', description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.' } diff --git a/ts/servertools/tools.serviceworker.ts b/ts/servertools/tools.serviceworker.ts index d822adb..46ded68 100644 --- a/ts/servertools/tools.serviceworker.ts +++ b/ts/servertools/tools.serviceworker.ts @@ -38,7 +38,7 @@ export const addServiceWorkerRoute = ( swVersionInfo = swDataFunc(); // the basic stuff - typedserverInstance.server.addRoute('/serviceworker.js*', serviceworkerHandler); + typedserverInstance.server.addRoute('/serviceworker.*', serviceworkerHandler); // the typed stuff const typedrouter = new plugins.typedrequest.TypedRouter();