From 30896b045fa10f3ab58c44d03a477f99452cfdc9 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 29 Jul 2022 01:23:17 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 315697f..3155c2b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartproxy', - version: '3.0.0', + version: '3.0.1', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index 4ba5925..558f04a 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -121,7 +121,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= console.log('got request'); const destinationConfig = this.router.routeReq(req); - // endRequest function + /** + * endRequest function + * can be used to prematurely end a request + */ const endRequest = ( statusArg: number = 404, messageArg: string = 'This route is not available on this server.',