fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-29 01:23:17 +02:00
parent 08f382b9fa
commit 30896b045f
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartproxy', name: '@pushrocks/smartproxy',
version: '3.0.0', version: '3.0.1',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -121,7 +121,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
console.log('got request'); console.log('got request');
const destinationConfig = this.router.routeReq(req); const destinationConfig = this.router.routeReq(req);
// endRequest function /**
* endRequest function
* can be used to prematurely end a request
*/
const endRequest = ( const endRequest = (
statusArg: number = 404, statusArg: number = 404,
messageArg: string = 'This route is not available on this server.', messageArg: string = 'This route is not available on this server.',