fix(core): update
This commit is contained in:
parent
42115cb6be
commit
952e95f82f
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@api.global/typedserver',
|
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.'
|
description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.'
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ export const addServiceWorkerRoute = (
|
|||||||
swVersionInfo = swDataFunc();
|
swVersionInfo = swDataFunc();
|
||||||
|
|
||||||
// the basic stuff
|
// the basic stuff
|
||||||
typedserverInstance.server.addRoute('/serviceworker.js*', serviceworkerHandler);
|
typedserverInstance.server.addRoute('/serviceworker.*', serviceworkerHandler);
|
||||||
|
|
||||||
// the typed stuff
|
// the typed stuff
|
||||||
const typedrouter = new plugins.typedrequest.TypedRouter();
|
const typedrouter = new plugins.typedrequest.TypedRouter();
|
||||||
|
Loading…
Reference in New Issue
Block a user