Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e1e1d4bf65 | |||
20ecb86a9e |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@apiglobal/typedserver",
|
||||
"version": "2.0.54",
|
||||
"version": "2.0.55",
|
||||
"description": "easy serving of static files",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiglobal/typedserver',
|
||||
version: '2.0.54',
|
||||
version: '2.0.55',
|
||||
description: 'easy serving of static files'
|
||||
}
|
||||
|
@ -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();
|
||||
});
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiglobal/typedserver',
|
||||
version: '2.0.54',
|
||||
version: '2.0.55',
|
||||
description: 'easy serving of static files'
|
||||
}
|
||||
|
Reference in New Issue
Block a user