fix(core): update

This commit is contained in:
Philipp Kunz 2023-07-01 11:49:39 +02:00
parent 83890d7cab
commit 20ecb86a9e
3 changed files with 3 additions and 8 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.54',
version: '2.0.55',
description: 'easy serving of static files'
}

View File

@ -105,12 +105,7 @@ export class Server {
// general request handlling
this.expressAppInstance.use((req, res, next) => {
req.on('error', () => {
req.destroy();
});
req.on('timeout', () => {
req.destroy();
});
next();
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.54',
version: '2.0.55',
description: 'easy serving of static files'
}