From 99427f58357721d5fa2e68f791fa6cad175231ca Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 9 Jan 2024 10:25:03 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/servertools/classes.handlerstatic.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 1be4298..400f5f2 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.15', + version: '3.0.16', description: 'easy serving of static files' } diff --git a/ts/servertools/classes.handlerstatic.ts b/ts/servertools/classes.handlerstatic.ts index 18a520d..a10e0b2 100644 --- a/ts/servertools/classes.handlerstatic.ts +++ b/ts/servertools/classes.handlerstatic.ts @@ -14,7 +14,7 @@ export class HandlerStatic extends Handler { headers?: { [key: string]: string }; serveIndexHtmlDefault?: boolean; enableCompression?: boolean; - preferredCompressionMethod?: 'gzip' | 'deflate' | 'br'; + preferredCompressionMethod?: TCompressionMethod; } ) { super('GET', async (req, res) => { diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 1be4298..400f5f2 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '3.0.15', + version: '3.0.16', description: 'easy serving of static files' }